System.Win.ComObj.TComObject.Controller

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Controller: IUnknown read GetController;

C++

__property System::_di_IInterface Controller = {read=GetController};

Properties

Type Visibility Source Unit Parent
property public
System.Win.ComObj.pas
System.Win.ComObj.hpp
System.Win.ComObj TComObject

Description

Specifies the controlling IUnknown interface that controls interfaces within an aggregate object.

Controller is the controlling IUnknown interface for the inner object in an aggregate. The QueryInterface, AddRef, and Release methods of all other interfaces of the inner object (except IUnknown) must delegate to the controlling IUnknown. Because of this delegation, the inner object's reference count is not affected when these methods are called.

Controller is nil (Delphi) or NULL (C++) if the object is not part of an aggregate. If Controller is not nil (Delphi) or NULL (C++), the object is part of an aggregate, and Controller is the controlling interface.

See Also