Sets the value of a property associated with the given object.
Syntax
HRESULT PutProperty( BSTR szProperty, VARIANT vtValue );
Parameters
- szProperty
- Caller-allocated buffer that contains the name of the property to set.
- vtValue
- New value for the given property.
Return Value
Returns one of the following values:
S_OK The operation was successful. E_INVALIDARG One or more parameters are invalid. E_OUTOFMEMORY There was not enough memory to complete the operation.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
See Also
IWebBrowser2::GetProperty