CharValues property (ILEADDicomDS)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short CharValues ( long lIndex );

Overview

Refer to Working with Data Sets.

Remarks

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

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

If you are setting character values associated with the element specified in the CurrentElement property, you can set the CharValueCount property to allocate storage for the CharValues property, prior to setting the character values using SetCharValue.

Set the CharValueCount property to 0 at any time to free the memory used for the CharValues property.

See Also

Elements:

CharValueCount property, GetCharValue method, SetCharValue method

Topics:

Data Sets: Getting and Setting Data Element Values