Click to return to the Reusing Browser Technology home page    
IWebBrowser2::get_Width M...     IWebBrowser2::GoBack Meth...     IWebBrowser2 Interface    
Web Workshop  |  Reusing Browser Technology

IWebBrowser2::GetProperty Method


Retrieves the value of a property associated with the given object.

Syntax

HRESULT GetProperty(
    BSTR szProperty,
    VARIANT *pvtValue
);

Parameters

szProperty
Caller-allocated string (BSTR) that specifies the name of the property to retrieve.
pvtValue
Address of a VARIANT_BOOL structure that receives the value associated with the given property.

Return Value

Returns S_OK if successful, or E_INVALIDARG if one or more parameters are invalid.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

See Also

IWebBrowser2::PutProperty


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.