TimeValueCount property

Delphi example

C++Builder example

 

Builder Syntax

Cardinal TimeValueCount

Delphi Syntax

TimeValueCount: Cardinal

Overview

Refer to Working with Data Sets.

Remarks

Contains the number of time values in the TimeValues property.

If you are retrieving time values associated with the element specified in the CurrentElement property, calling the GetTimeValue method updates this property with the number of 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 array property, prior to setting the time values using SetTimeValue.

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

See Also

Elements:

TimeValues property, GetTimeValue method, SetTimeValue method