The TInterfacedCollection is used as an interface adapter of the TOwnedCollection. Note that its implementation ignores reference counting rules, so it will never be destroyed by the IInterface machinery.
- Unit: uDASupportClasses.pas
- Ancestry: TOwnedCollection | TInterfacedCollection
function GetCount: Integer
QueryInterface protected stdcall
Returns a reference to a specified interface if the object supports that interface. This is one of the methods introduced by the IUnknown interface.
function QueryInterface(const IID: TGUID; out Obj: ): HResult
- IID: Identifier of the interface to return
- Obj: Variable to store the returned interface reference to