System.Win.ComObj.GetDispatchPropValue

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function GetDispatchPropValue(const Disp: IDispatch; DispID: Integer): OleVariant;
function GetDispatchPropValue(const Disp: IDispatch; Name: WideString): OleVariant;

C++

extern DELPHI_PACKAGE System::OleVariant __fastcall GetDispatchPropValue(const _di_IDispatch Disp, int DispID)/* overload */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
System.Win.ComObj.pas
System.Win.ComObj.hpp
System.Win.ComObj System.Win.ComObj

Beschreibung

Gibt den Wert einer Eigenschaft einer IDispatch-Schnittstelle zurück.

Mit GetDispatchPropValue können Sie den Wert der Eigenschaft mit der Dispatch-ID DispID der IDispatch-Schnittstelle Disp lesen.

Siehe auch