WebBrowser.StatusText プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > WebBrowser.StatusText プロパティの意味・解説 

WebBrowser.StatusText プロパティ

メモ : このプロパティは、.NET Framework version 2.0 で新しく追加されたものです。

WebBrowser コントロールのステータス テキストを取得します。

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

例外例外
例外の種類条件

ObjectDisposedException

この WebBrowser インスタンスは無効になっています。

InvalidOperationException

IWebBrowser2 の実装への参照を、基になる ActiveX WebBrowser から取得できませんでした。

解説解説
使用例使用例

StatusText プロパティを使用して、Internet Explorer のステータス バーのような機能を WebBrowser コントロールに実装する方法を次のコード例に示します。この例は、フォームに webBrowser1 という名前の WebBrowser コントロールと、StatusBar1 という名前の StatusBar コントロールが存在することを前提にしています。

コード全体については、「方法 : Windows フォーム アプリケーションに Web ブラウザの機能を追加する」を参照してください。

' Updates the status bar with the current browser status text.
Private Sub webBrowser1_StatusTextChanged(
 _
    ByVal sender As Object,
 ByVal e As EventArgs) _
    Handles webBrowser1.StatusTextChanged

    toolStripStatusLabel1.Text = webBrowser1.StatusText

End Sub
// Updates the status bar with the current browser status text.
private void webBrowser1_StatusTextChanged(object
 sender, EventArgs e)
{
    toolStripStatusLabel1.Text = webBrowser1.StatusText;
}
// Updates StatusBar1 with the current browser status text.
void WebBrowser1_StatusTextChanged( Object^ /*sender*/, System::EventArgs^
 /*e*/ )
{
   this->StatusBar1->Text = WebBrowser1->StatusText;
}
.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

WebBrowser.StatusText プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



WebBrowser.StatusText プロパティのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS