Specifies the controlling IUnknown interface that controls interfaces within an aggregate object.
property Controller: IUnknown;
__property IUnknown Controller;
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.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!