System.Classes.TInterfaceList.Add
Delphi
function Add(const Item: IInterface): Integer;
C++
int __fastcall Add(const System::_di_IInterface Item);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Classes.pas System.Classes.hpp |
System.Classes | TInterfaceList |
Description
Adds an interface to the list.
Call Add to add an interface to the list. For multithreading purposes, the list is locked before the adding operation begins and unlocked afterwards.
The function returns the index at which the newly added interface is found.