System.Win.ComObj.GetDispatchPropValue

From RAD Studio API Documentation
Jump to: navigation, search

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 */;

Properties

Type Visibility Source Unit Parent
function public
System.Win.ComObj.pas
System.Win.ComObj.hpp
System.Win.ComObj System.Win.ComObj

Description

Returns the value of a property on an IDispatch interface.

Call GetDispatchPropValue to read the value of the property with the dispatch ID specified by DispID from the IDispatch interface given by Disp.

See Also