AgeValues property (ILEADDicomDS)
AGEVALUEItem AgeValues ( long lIndex ); | |
Overview |
Refer to Working with Data Sets. |
Remarks
Contains an array of age values retrieved from or set to the Data Element specified by the CurrentElement property. The size of this array is determined by the AgeValueCount property.
The AgeValues property has the following properties:
Property |
Type |
Description |
Number |
short |
Numerical value that indicates the age. |
Reference |
short |
A character that indicates whether the value in Number refers to days, weeks, months, or years. Possible values are: VALUE_AGE_DAYS ‘D’ The age is given in days. VALUE_AGE_WEEKS ‘W’ The age is given in weeks. VALUE_AGE_MONTHS ‘M’ The age is given in months. VALUE_AGE_YEARS ‘Y’ The age is given in years. |
If you are retrieving age values associated with the element specified in the CurrentElement property, calling the GetAgeValue method updates this property with the 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 property, prior to setting the age values using SetAgeValue.
Set the AgeValueCount property to 0 at any time to free the memory used for the AgeValues property.
See Also
Elements: |
AgeValueCount property, GetAgeValue method, SetAgeValue method |
Topics: |