Skip to content

TStrings.AddStrings

Add contents of another stringlist to this list.

Declaration

Source position: classesh.inc line 1106

public 
procedure AddStrings(TheStrings: TStrings);  virtual;  overload; overload;

procedure AddStrings(TheStrings: TStrings; ClearFirst: Boolean)
                    ;  overload; overload;

procedure AddStrings(const TheStrings: Array of string = string)
                    ;  virtual;  overload; overload;

procedure AddStrings(const TheStrings: Array of string = string; 
                    ClearFirst: Boolean);  overload; 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.