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.