RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWideStrings.Strings Property

References the WideStrings in the list by position.

Pascal
property Strings [Index: Integer]: WideString;
C++
__property BSTR Strings[int Index];

Use the Strings property to get or set the string at a particular position.

Note: In Delphi, Strings is the default property for TWideStrings. This means that the property name can be omitted in code. That is, the statement

WString := MyStrings.Strings[0];

Can be written

WString := MyStrings[0];

Note: In C++, Strings can be accessed using the [] operator, to achieve an affect similar to the default property in Delphi.
 

IndexOf 

operator_sb

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!