CComDispatchDriver::PutProperty

This method sets the value of the property identified by dwDispID to the value in var. If you supply pDisp, that IDispatch pointer is used. If you do not, the IDispatch pointer contained in the data member p is used.

Syntax

HRESULT PutProperty( DISPID dwDispID, VARIANT* var );

static HRESULT PutProperty( IDispatch* pDisp, DISPID dwDispID, VARIANT* var );

At a Glance

Header file: Atlctl.h
Platforms:
Versions: Version 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CComDispatchDriver Overview, CComDispatchDriver Methods, CComDispatchDriver::GetProperty