WebBrowser.IsOffline Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the WebBrowser control is in offline mode.
public:
property bool IsOffline { bool get(); };
[System.ComponentModel.Browsable(false)]
public bool IsOffline { get; }
[<System.ComponentModel.Browsable(false)>]
member this.IsOffline : bool
Public ReadOnly Property IsOffline As Boolean
Property Value
true
if the WebBrowser control is in offline mode; otherwise, false
.
- Attributes
Exceptions
This WebBrowser instance is no longer valid.
A reference to an implementation of the IWebBrowser2
interface could not be retrieved from the underlying ActiveX WebBrowser
control.
Remarks
In offline mode, the WebBrowser control is forced to load Web pages from the local cache rather than downloading them.
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應