System.Win.ComObj.SetDispatchPropValue

De RAD Studio API Documentation
Aller à : navigation, rechercher

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

Propriétés

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

Description

Définit la valeur d'une propriété sur une interface IDispatch.

Appelez SetDispatchPropValue pour affecter la valeur spécifiée par le paramètre Value à la propriété spécifiée de l'interface IDispatch donnée par le paramètre Disp. Le paramètre DispID donne l'ID de répartition de la propriété à définir.

Voir aussi