System.Classes.TStringList.Create

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

constructor Create; overload;
constructor Create(OwnsObjects: Boolean); overload;
constructor Create(QuoteChar, Delimiter: Char); overload;
constructor Create(QuoteChar, Delimiter: Char; Options: TStringsOptions); overload;
constructor Create(Duplicates: TDuplicates; Sorted: Boolean; CaseSensitive: Boolean); overload;

C++

__fastcall TStringList()/* overload */;
__fastcall TStringList(bool OwnsObjects)/* overload */;
__fastcall TStringList(System::WideChar QuoteChar, System::WideChar Delimiter)/* overload */;
__fastcall TStringList(System::WideChar QuoteChar, System::WideChar Delimiter, TStringsOptions Options)/* overload */;
__fastcall TStringList(System::Types::TDuplicates Duplicates, bool Sorted, bool CaseSensitive)/* overload */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
constructor public
System.Classes.pas
System.Classes.hpp
System.Classes TStringList

Beschreibung

Erstellt eine Instanz eines TStringList-Objekts.

Der Konstruktor Create erstellt eine neue Instanz des TStringList-Objekts.

Create hat zwei überladene Methoden. Eine davon übernimmt keine Parameter und die zweite übernimmt den Parameter OwnsObjects, der den Typ Boolean hat. Dieser Parameter gibt an, ob die Stringliste die Objekte enthält oder nicht.

Siehe auch