CharValueCount property

Delphi example

C++Builder example

 

Builder Syntax

Cardinal CharValueCount

Delphi Syntax

CharValueCount: Cardinal

Overview

Refer to Working with Data Sets.

Remarks

Contains the number of character values in the CharValues property.

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

If you are setting character values associated with the element specified in the CurrentElement property, you can set the CharValueCount property to allocate storage for the CharValues array property, prior to setting the character values using SetCharValue.

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

See Also

Elements:

CharValues property, GetCharValue method, SetCharValue method