Table of Contents

OmitXmlDeclaration Property

Definition

Namespace
Cuemon.Xml
Assemblies
Cuemon.Xml.dll
Source
src/Cuemon.Xml/XmlEncodingOptions.cs

OmitXmlDeclaration

Gets or sets a value indicating whether to omit an XML declaration.

public bool OmitXmlDeclaration { get; set; }

Property Value

bool

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