GetProperty method
Gets a specified property.
Syntax
HRESULT retVal = object.GetProperty(pszName, pvarProperty);
Parameters
- pszName [in]
-
Type: LPCOLESTR
The property name.
- pvarProperty [out]
-
Type: VARIANT
Receives a pointer to the property.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Show: