System.Win.ComObj.SetDispatchPropValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetDispatchPropValue(const Disp: IDispatch; DispID: Integer;
const Value: OleVariant);
procedure SetDispatchPropValue(const Disp: IDispatch; Name: WideString;
const Value: OleVariant); overload;

C++

extern DELPHI_PACKAGE void __fastcall SetDispatchPropValue(const _di_IDispatch Disp, int DispID, const System::OleVariant &Value)/* overload */;

Properties

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

Description

Sets the value of a property on an IDispatch interface.

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.

See Also