System.Classes.TStrings.AddStrings
Delphi
procedure AddStrings(Strings: TStrings); overload; virtual;
procedure AddStrings(const Strings: TArray<string>); overload;
procedure AddStrings(const Strings: TArray<string>; const Objects: TArray<TObject>); overload;
C++
virtual void __fastcall AddStrings(TStrings* Strings)/* overload */;
void __fastcall AddStrings(const System::DynamicArray<System::UnicodeString> Strings)/* overload */;
void __fastcall AddStrings(const System::DynamicArray<System::UnicodeString> Strings, const System::DynamicArray<System::TObject*> Objects)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Classes.pas System.Classes.hpp |
System.Classes | TStrings |
Description
Adds a group of strings to the list.
Call AddStrings to add the strings from another TStrings object to the list. If both the source and destination TStrings objects support objects associated with their strings, references to the associated objects will be added as well.
See Also
Code Examples