Skip to content

TStrings.AddStrings

Add contents of another stringlist to this list.

Declaration

Source position: classesh.inc line 707

public 
  procedure AddStrings(TheStrings: TStrings);  Virtual;  Overload;
  procedure AddStrings(TheStrings: TStrings; ClearFirst: Boolean)
                      ;  Overload;
  procedure AddStrings(const TheStrings: Array of string);  Virtual
                      ;  Overload;
  procedure AddStrings(const TheStrings: Array of string; 
                      ClearFirst: Boolean);  Overload;

Description

AddStrings adds the contents of TheStrings to the stringlist. Any associated objects are added as well.

See also

Name Description
TStrings.Add Add a string to the list
TStrings.Assign Assign the contents of another stringlist to this one.