StringValueCount property (ILEADDicomDS)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

long StringValueCount

Overview

Refer to Working with Data Sets.

Remarks

Contains the number of string values in the StringValues property.

If you are retrieving string values associated with the element specified in the CurrentElement property, calling the GetStringValue method updates this property with the number of string values associated with the specified element.

If you are setting string values associated with the element specified in the CurrentElement property, you can set the StringValueCount property to allocate storage for the StringValues array property, prior to setting the string values using SetStringValue.

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

See Also

Elements:

StringValues property, GetStringValue method, SetStringValue method

Topics:

Data Sets: Getting and Setting Data Element Values