RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWideStrings.Assign Method

Sets the strings in the list, and possibly associated objects, from a source object.

Pascal
procedure Assign(Source: TPersistent); override;
C++
virtual __fastcall Assign(TPersistent * Source);

Use Assign to set the value of the TWideStrings object from another object. If Source is of type TWideStrings, the list is set to the list of the source TWideStrings object, and if associated objects are supported, any associated objects are copied from the Source as well.  

If Source is not of type TWideStrings, the inherited Assign will set the value of the list from any object that supports TWideStrings in its AssignTo method. 

 

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