Skip to content

TContainedObject

Base class for contained objects.

    Declaration

    Source position: objpash.inc line 410

    type
    
      TContainedObject = class(TAggregatedObject, IInterface)
      end;
    

    Description

    TContainedObject is the base class for contained objects, i.e. objects that do not implement a reference counting mechanism themselves, but are owned by some other object which handles the reference counting mechanism. It implements the IUnknown interface and, more specifically, the QueryInterface method of IUnknown.

    See also

    Name Description
    IInterface Basic interface for all COM based interfaces.