API:System.Classes.TStringList.Clear
Delphi
procedure Clear; override;
C++
virtual void __fastcall Clear();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Classes.pas System.Classes.hpp |
System.Classes | TStringList |
Description
Introduces an abstract (Delphi) or pure virtual (C++) method to empty the list and any associated objects.
System.Classes.TStringList.Clear inherits from System.Classes.TStrings.Clear. All content below this line refers to System.Classes.TStrings.Clear.
Introduces an abstract (Delphi) or pure virtual (C++) method to empty the list and any associated objects.
Descendants of TStrings implement a Clear method to delete all the strings in the list, and to remove any references to associated objects.
See Also
Code Examples