System.Classes.TInterfaceList.Clear
Delphi
procedure Clear;
C++
void __fastcall Clear();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Classes.pas System.Classes.hpp |
System.Classes | TInterfaceList |
Description
Clears the interface list.
Call Clear to remove all the interfaces from the list.
Note: The interface list only stores pointers to the interfaces. Clearing the interface does not delete the interfaces; it only decreases the reference count by 1. The interfaces are freed when there are no more references to them.