get_OmitXmlDeclaration()

XmlWriterSettings::get_OmitXmlDeclaration() method

Returns a value indicating whether to omit an XML declaration.

bool System::Xml::XmlWriterSettings::get_OmitXmlDeclaration()

Return Value

true to omit the XML declaration; otherwise, false. The default is false, an XML declaration is written.

See Also