[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TStrings.Assign

Assign the contents of another stringlist to this one.

Declaration

Source position: classesh.inc line 483

public procedure TStrings.Assign(

  Source: TPersistent

); override;

Description

Assignreplaces the contents of the stringlist with the contents of Sourceif Sourceis also of type TStrings. Any associated objects are copied as well.

See also

TStrings.Add

  

Add a string to the list

TStrings.AddStrings

  

Add contents of another stringlist to this list.

TPersistent.Assign

  

Assign the contents of one class to another.