XhtmlTextWriter.SetDocType(XhtmlMobileDocType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the XHTML document type for the text writer to render to the page or control.
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)
Parameters
- docType
- XhtmlMobileDocType
One of the XhtmlMobileDocType enumeration values.
Remarks
Use the SetDocType method in a custom page adapter to define the type of XHTML that you want to render to the requesting device. Supported document types are defined in the XhtmlMobileDocType enumeration.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.