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

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

HtmlDocument.All プロパティ

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

HtmlElementCollection のインスタンス取得します。これは、ドキュメントすべての HtmlElement オブジェクト格納します

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

Public ReadOnly Property
 All As HtmlElementCollection
Dim instance As HtmlDocument
Dim value As HtmlElementCollection

value = instance.All
public HtmlElementCollection All { get; }
public:
property HtmlElementCollection^ All {
    HtmlElementCollection^ get ();
}
/** @property */
public HtmlElementCollection get_All ()
public function get All
 () : HtmlElementCollection

プロパティ
ドキュメント内のすべての要素HtmlElementCollection

解説解説
使用例使用例

ドキュメント内のすべての要素反復処理して Enabled=True設定しドキュメント読み込み時にユーザー入力できないように既定無効になっていた可能性のある要素有効にするコード例次に示します。このコード例では、アプリケーションWebBrowser1 という名前の WebBrowser コントロール含まれている必要があります

Private Sub EnableAllElements()
    If (WebBrowser1.Document IsNot Nothing)
 Then
        For Each PageElement As
 HtmlElement In WebBrowser1.Document.All
            PageElement.Enabled = True
        Next
    End If
End Sub
public void EnableAllElements()
{
    if (webBrowser1.Document != null)
    {
        foreach (HtmlElement pageElement in
 webBrowser1.Document.All)
        {
            pageElement.Enabled = true;
        }
    }
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

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

   

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



HtmlDocument.All プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS