DateValues property (ILEADDicomDS)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

DATEVALUEItem DateValues ( long lIndex );

Overview

Refer to Working with Data Sets.

Remarks

Contains an array of date values retrieved from or set to the Data Element specified by the CurrentElement property. The size of this array is determined by the DateValueCount property.

The DateValues property has the following properties:

Property

Type

Description

Year

short

The year.

Month

short

The month.

Day

short

The day.

 

If you are retrieving date values associated with the element specified in the CurrentElement property, calling the GetDateValue method updates this property with the date values associated with the specified element.

If you are setting date values associated with the element specified in the CurrentElement property, you can set the DateValueCount property to allocate storage for the DateValues property, prior to setting the date values using SetDateValue.

Set the DateValueCount property to 0 at any time to free the memory used for the DateValues property.

See Also

Elements:

DateValueCount property, GetDateValue method, SetDateValue method

Topics:

Data Sets: Getting and Setting Data Element Values