XhtmlMobileTextWriter.WriteXmlDeclaration Method ()


Writes an XML declaration along with the current document encoding value. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls.Adapters.XhtmlAdapters
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public virtual void WriteXmlDeclaration()

If the current encoding is UTF-8, the declaration output would be:

<?xml version="1.0" encoding="UTF-8"?>

.NET Framework
Available since 2.0
Return to top