AgeValueCount property (ILEADDicomDS)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

long AgeValueCount

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

Topics:

Data Sets: Getting and Setting Data Element Values