System.Classes.TStringList.Create
Delphi
constructor Create; overload;
constructor Create(OwnsObjects: Boolean); overload;
C++
__fastcall TStringList(void)/* overload */;
__fastcall TStringList(bool OwnsObjects)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | System.Classes.pas System.Classes.hpp |
System.Classes | TStringList |
Description
Creates an instance of a TStringList object.
The Create constructor creates a new instance of the TStringList object.
Create has two overloaded methods. One takes no parameters and the other one accepts the OwnsObjects
Boolean parameter, which specifies whether the string list owns the objects or not.