CComDispatchDriver::GetProperty

This method gets the value of the property identified by dwDispID. 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 GetProperty( DISPID dwDispID, VARIANT* var );

static HRESULT GetProperty( 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::PutProperty