Show: Delphi C++
Display Preferences

System.Classes.TComponent.ComObject

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ComObject: IUnknown read GetComObject;

C++

__property System::_di_IInterface ComObject = {read=GetComObject};

Properties

Type Visibility Source Unit Parent
property public
System.Classes.pas
System.Classes.hpp
System.Classes 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.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance