Classes.TComponent.ComObject
From RAD Studio VCL Reference
Contents |
Delphi Information
From Classes.pas
property ComObject: IInterface read GetComObject;
Unit: Classes
Type: property
Visibility: public
Member Of: TComponent
C++ Information
From Classes.hpp
__property System::DelphiInterface<System::IInterface> ComObject = {read=GetComObject};
Unit: Classes
Type: property
Visibility: public
Member Of: TComponent
Description
Specifies the interface reference implemented by the component.
Use ComObject to assign a COM interface implemented by a component to an interface reference. This property is used by components that support COM interfaces.
If the component is not a wrapper for a COM component, trying to read ComObject causes TComponent to raise an EComponentError exception.