Vcl.OleCtnrs.TOleContainer.OleObject

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OleObject: Variant read GetOleObject;

C++

__property System::Variant OleObject = {read=GetOleObject};

Properties

Type Visibility Source Unit Parent
property public
Vcl.OleCtnrs.pas
Vcl.OleCtnrs.hpp
Vcl.OleCtnrs TOleContainer

Description

Represents the OLE object hosted by the OLE container.

Read OleObject to access the OLE object hosted by the OLE container as a variant. To interact with the OLE object using the IOleObject interface, use the OleObjectInterface property instead. If the OLE object is not loaded in the container before reading OleObject, an EOleError exception is raised.

See Also