Sets the value of a property on an IDispatch interface.
procedure SetDispatchPropValue(Disp: IDispatch; DispID: Integer; const Value: OleVariant); overload; procedure SetDispatchPropValue(Disp: IDispatch; Name: WideString; const Value: OleVariant); overload;
SetDispatchPropValue(IDispatch Disp, int DispID, const OleVariant Value); SetDispatchPropValue(IDispatch Disp, BSTR Name, const OleVariant Value);
ComObj
Call SetDispatchPropValue to assign the value specified by the Value parameter to the specified property of the IDispatch interface given by the Disp parameter. The DispID parameter gives the dispatch ID of the property to set.
EnumDispatchProperties
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|