RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWideStrings.Put Method

Changes the value of the string with a specified index.

Pascal
procedure Put(Index: Integer; const S: WideString); virtual;
C++
virtual __fastcall Put(int Index, const BSTR S);

Put is the protected write implementation of the Strings property. 

Put changes the value of the string with the index specified by Index to S. Put does not change the object at the specified position. That is, any object associated with the previous string becomes associated with the new string. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!