Show: Delphi C++
Display Preferences

System.Classes.TStrings.Assign

From RAD Studio API Documentation
Jump to: navigation, search

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

Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance