[Visual Basic] Public Function CastToOleAutomationObject() As OleAutomationObject [C#] public OleAutomationObject CastToOleAutomationObject(); [C++] public: OleAutomationObject* CastToOleAutomationObject(); [JScript] public function CastToOleAutomationObject(): OleAutomationObject;
Static upcast to base interface (needed by clients not natively supporting COM typecasts)
OleAutomationObject Class | EbsOpen Namespace