Microsoft SDK for Java

setOffline

This method of the InternetExplorer class sets a value indicating whether the WebBrowser control is currently operating in offline mode. In offline mode, the browser is forced to read HTML pages from the local cache rather than from the source document.

Syntax

public native void setOffline(boolean Offline);

Parameters

Offline Determines whether the WebBrowser control is in offline mode. If TRUE, the WebBrowser will read data about its current URL from its local cache. If FALSE, it will attempt to read the source document. The default value is FALSE.

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