Data.DBXPlatform.TDBXStringList.Assign

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Assign(Source: TPersistent); override;

Properties

Type Visibility Source Unit Parent
procedure public System.Classes.pas Data.DBXPlatform TDBXStringList

Description

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

Data.DBXPlatform.TDBXStringList.Assign inherits from System.Classes.TStrings.Assign. All content below this line refers to System.Classes.TStrings.Assign.

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

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

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

See Also

Code Examples