TimeValues property (ILEADDicomDS)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

TIMEVALUEItem TimeValues ( long lIndex );

Overview

Refer to Working with Data Sets.

Remarks

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

The TimeValues property has the following properties:

Property

Type

Description

Hours

short

Hours

Minutes

short

Minutes

Seconds

short

Seconds

Fractions

long

Fraction of a second.

 

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

If you are setting time values associated with the element specified in the CurrentElement property, you can set the TimeValueCount property to allocate storage for the TimeValues property, prior to setting the date values using SetTimeValue.

Set the TimeValueCount property to 0 at any time to free the memory used for the TimeValues property.

See Also

Elements:

TimeValueCount property, GetTimeValue method, SetTimeValue method

Topics:

Data Sets: Getting and Setting Data Element Values