XhtmlControlAdapter.DocumentType 屬性

定義

表示用來呈現目前文件的 XHTML 標記類型。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

protected:
 virtual property System::Web::UI::MobileControls::Adapters::XhtmlAdapters::Doctype DocumentType { System::Web::UI::MobileControls::Adapters::XhtmlAdapters::Doctype get(); };
protected virtual System.Web.UI.MobileControls.Adapters.XhtmlAdapters.Doctype DocumentType { get; }
member this.DocumentType : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.Doctype
Protected Overridable ReadOnly Property DocumentType As Doctype

屬性值

Doctype 值。 預設為 NotSet,表示尚未決定文件類型。

備註

這個方法主要是由 .NET Framework 內部使用。

適用於

產品 版本
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

另請參閱