XhtmlTextWriter.SetDocType(XhtmlMobileDocType) メソッド

定義

ページまたはコントロールにレンダリングするテキスト ライターの XHTML ドキュメントの種類を指定します。

public:
 virtual void SetDocType(System::Web::UI::XhtmlMobileDocType docType);
public virtual void SetDocType(System.Web.UI.XhtmlMobileDocType docType);
abstract member SetDocType : System.Web.UI.XhtmlMobileDocType -> unit
override this.SetDocType : System.Web.UI.XhtmlMobileDocType -> unit
Public Overridable Sub SetDocType (docType As XhtmlMobileDocType)

パラメーター

docType
XhtmlMobileDocType

XhtmlMobileDocType列挙値の 1 つ。

注釈

カスタム ページ アダプターで SetDocType メソッドを使用して、要求するデバイスにレンダリングする XHTML の種類を定義します。 サポートされているドキュメントの種類は、 XhtmlMobileDocType 列挙体で定義されます。

適用対象

こちらもご覧ください