RAD Studio VCL Reference
|
References the strings in the list by their positions.
property Strings [Index: Integer]: WideString;
__property BSTR Strings[int Index];
Descendants of TWideStrings must implement an accessor function for the Strings property to return the string at the position indicated by Index. Index gives the position of the string, where 0 is the first string, 1 is the second string, and so on.
Use the Strings property to get or set the string at a particular position.
To store a string as a name-value pair, assign Strings a value that includes the NameValueSeparator character. The name and value will then be accessible separately using the Names and Values properties.
MyStrings.Strings[0] := 'This is the first string'; MyStrings[0] := 'This is the first string';
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|