WebBrowser.DocumentType プロパティ

定義

WebBrowser コントロールに現在表示されているドキュメントの種類を取得します。

public:
 property System::String ^ DocumentType { System::String ^ get(); };
[System.ComponentModel.Browsable(false)]
public string DocumentType { get; }
[<System.ComponentModel.Browsable(false)>]
member this.DocumentType : string
Public ReadOnly Property DocumentType As String

プロパティ値

String

現在のドキュメントの種類。

属性

例外

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

IWebBrowser2 インターフェイスの実装への参照を、基になる ActiveX WebBrowser コントロールから取得できませんでした。

注釈

このプロパティの値は、ドキュメントの多目的インターネット メール拡張機能 (MIME) の種類に対応します。

適用対象

こちらもご覧ください