AgeValueCount property

Delphi example

C++Builder example

 

Builder Syntax

Cardinal AgeValueCount

Delphi Syntax

AgeValueCount: Cardinal

Overview

Refer to Working with Data Sets.

Remarks

Contains the number of age values in the AgeValues property.

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

If you are setting age values associated with the element specified in the CurrentElement property, you can set the AgeValueCount property to allocate storage for the AgeValues array property, prior to setting the age values using SetAgeValue.

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

See Also

Elements:

AgeValues property, GetAgeValue method, SetAgeValue method