Skip to content

TInterfaceList.Add

Add an interface to the list

Declaration

Source position: classesh.inc line 2265

public 
  function Add(item: IUnknown) : Integer;

Description

Add is the implementation of the IInterfaceList.Add method. It adds an interface to the list, and returns the location of the new element in the list. This operation will increment the reference count of the interface.

See also

Name Description
IInterfaceList.Add Add an interface to the list
TFPList.Add Adds a new pointer to the list.
TInterfaceList.Delete Delete an interface from the list.
TInterfaceList.Insert Insert an interface to the list
TList.Add Adds a new pointer to the list.