ShortValues property (ILEADDicomDS)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short ShortValues ( long lIndex )

Overview

Refer to Working with Data Sets.

Remarks

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

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

If you are setting short values associated with the element specified in the CurrentElement property, you can set the ShortValueCount property to allocate storage for the ShortValues property, prior to setting the short values using SetShortValue.

Set the ShortValueCount property to 0 at any time to free the memory used for the ShortValues property.

See Also

Elements:

ShortValueCount property, GetShortValue method, SetShortValue method

Topics:

Data Sets: Getting and Setting Data Element Values