IInterfaceList.IndexOf

Return the index of an interface.

Declaration

Source position: classesh.inc line 2220

default 
  function IndexOf(const item: IUnknown) : Integer;

Description

IndexOf returns the location in the list of the interface Item. If there is no such interface in the list, then -1 is returned.

See also

Name Description
IInterfaceList.First Return the first non-empty interface in the list.
IInterfaceList.Last Returns the last non-nil interface in the list.
TList.IndexOf Returns the index of a given pointer.