DateTimeValues property (ILEADDicomDS)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

DATETIMEVALUEItem DateTimeValues

Overview

Refer to Working with Data Sets.

Remarks

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

The DateTimeValues property has the following properties:

Property

Type

Description

Year

short

The year.

Month

short

The month.

Day

short

The day.

Hours

short

The hours.

Minutes

short

The minutes.

Seconds

short

The seconds.

Fractions

long

The fraction of a second.

Offset

long

The optional suffix for plus/minus from Coordinated Universal Time.

 

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

If you are setting date-time values associated with the element specified in the CurrentElement property, you can set the DateTimeValueCount property to allocate storage for the DateTimeValues property, prior to setting the date-time values using SetDateTimeValue.

Set the DateTimeValueCount property to 0 at any time to free the memory used for the DateTimeValues property.

See Also

Elements:

DateTimeValueCount property, GetDateTimeValue method, SetDateTimeValue method

Topics:

Data Sets: Getting and Setting Data Element Values