TInterfacedCollection
Overview
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.
Location
- Unit: uDASupportClasses.pas
- Ancestry: TOwnedCollection | TInterfacedCollection
Instance Methods
GetCount protected
Always returns -1
.
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
Parameters:
- IID: Identifier of the interface to return
- Obj: Variable to store the returned interface reference to