ShortValueCount property

Delphi example

C++Builder example

 

Builder Syntax

Cardinal ShortValueCount

Delphi Syntax

ShortValueCount: Cardinal

Overview

Refer to Working with Data Sets.

Remarks

Contains the number of short values in the ShortValues property.

If you are retrieving short values associated with the element specified in the CurrentElement property, calling the GetShortValue method updates this property with the number of short values associated with the specified element.

If you are setting short values associated with the element specified in the CurrentElement property, you can set the ShortValueCount property to allocate storage for the ShortValues array property, prior to setting the short values using SetShortValue.

Set this property to 0 at any time to free the memory used for the ShortValues property.

See Also

Elements:

ShortValues property, GetShortValue method, SetShortValue method