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.
HRESULT GetProperty( DISPID dwDispID, VARIANT* var );
static HRESULT GetProperty( IDispatch* pDisp, DISPID dwDispID, VARIANT* var );
Header file: | Atlctl.h |
Platforms: | |
Versions: | Version 2.0 and later |
Complete documentation: | Visual C++ documentation |
CComDispatchDriver Overview, CComDispatchDriver Methods, CComDispatchDriver::PutProperty