System.Classes.TStrings.Assign
Delphi
procedure Assign(Source: TPersistent); override;
C++
virtual void __fastcall Assign(TPersistent* Source);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Classes.pas System.Classes.hpp |
System.Classes | TStrings |
Description
Sets the strings in the Strings array, possibly associated Objects, and some other properties of the current TStrings object, from the Source
object.
Use Assign to set the properties of the TStrings object from the Source
object. If Source
is of the TStrings type, Assign copies the following properties:
If Source
is not of the TStrings type, the inherited Assign will set the value of the string array from any object that supports TStrings in its AssignTo method.
See Also
- System.Classes.TStrings.AddStrings
- System.Classes.TStrings.Objects
- System.Classes.TStrings.Strings
- System.Classes.TPersistent.AssignTo