Sets a value that indicates whether the WebBrowser control is currently operating in offline mode.
Syntax
HRESULT put_Offline( VARIANT_BOOL bOffline );
Parameters
- bOffline
- VARIANT_BOOL that is set to TRUE if the WebBrowser control is reading from the local cache. If this parameter is FALSE, the control attempts to read from the source document.
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.