RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ComObj.GetDispatchPropValue Function

Returns the value of a property on an IDispatch interface.

Pascal
function GetDispatchPropValue(Disp: IDispatch; DispID: Integer): OleVariant; overload;
function GetDispatchPropValue(Disp: IDispatch; Name: WideString): OleVariant; overload;
C++
OleVariant GetDispatchPropValue(IDispatch Disp, int DispID);
OleVariant GetDispatchPropValue(IDispatch Disp, BSTR Name);

ComObj

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

 

EnumDispatchProperties 

SetDispatchPropValue

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!