Click to return to the Reusing Browser Technology home page    
IWebBrowser2::get_Name Me...     IWebBrowser2::get_Parent ...     IWebBrowser2 Interface    
Web Workshop  |  Reusing Browser Technology

IWebBrowser2::get_Offline Method


Retrieves a Boolean value that indicates whether the WebBrowser control is currently operating in offline mode.

Syntax

HRESULT get_Offline(
    VARIANT_BOOL* pbOffline
);

Parameters

pbOffline
Address of a VARIANT_BOOL structure that receives TRUE if the WebBrowser control is offline, or FALSE if it is not.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

In offline mode, the browser is forced to read HTML pages from the local cache rather than from the source document.



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.