System.Win.ObjComAuto.TObjectDispatch.GetObjectDispatch

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetObjectDispatch(Obj: TObject): TObjectDispatch; virtual;

C++

virtual TObjectDispatch* __fastcall GetObjectDispatch(System::TObject* Obj);

Properties

Type Visibility Source Unit Parent
function protected
System.Win.ObjComAuto.pas
System.Win.ObjComAuto.hpp
System.Win.ObjComAuto TObjectDispatch

Description

Creates and returns a TObjectDispatch instance.

GetObjectDispatch represents a shortcut to the TObjectDispatch constructor (you don't have to set the Owner parameter of the constructor; it is preset to False).

See also