Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets a property.
Syntax
HRESULT retVal = object.SetProperty(pszName, pvarProperty);
Parameters
pszName [in]
Type: LPCOLESTRA pointer to a string that specifies the name of the property to set.
pvarProperty [out]
Type: VARIANTReceives a pointer to the property.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.