Click to return to the Reusing Browser Technology home page    
IWebBrowser2::put_Width M...     IWebBrowser2::QueryStatus...     IWebBrowser2 Interface    
Web Workshop  |  Reusing Browser Technology

IWebBrowser2::PutProperty Method


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


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.