XhtmlMobileTextWriter::WriteXmlDeclaration Method ()
.NET Framework (current version)
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.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
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
Available since 2.0
Show: