System.Classes.TStringList.Clear

From RAD Studio API Documentation
Jump to: navigation, search

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

Deletes all the strings from the list.

Call clear to empty the list of strings. All references to associated objects are also removed. If the list owns the objects, they are freed, otherwise not.

See Also