System.Classes.TStringList.Create

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

constructor Create; overload;
constructor Create(OwnsObjects: Boolean); overload;

C++

__fastcall TStringList(void)/* overload */;
__fastcall TStringList(bool OwnsObjects)/* 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