StringValues property

Delphi example

C++Builder example

 

Builder Syntax

System::AnsiString StringValues[Cardinal uIndex]

Delphi Syntax

StringValues[uIndex: Cardinal]: String

Overview

Refer to Working with Data Sets.

Remarks

Contains an array of string values retrieved from or set to the Data Element specified by the CurrentElement property. The size of this array is determined by the StringValueCount 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 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 property, prior to setting the string values using SetStringValue.

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

See Also

Elements:

StringValueCount property, GetStringValue method, SetStringValue method