Class XmlEncodingOptions
- Namespace
- Cuemon.Xml
- Assembly
- Cuemon.Xml.dll
Configuration options for XmlEncodingOptions.
public class XmlEncodingOptions : EncodingOptions, IEncodingOptions, IParameterObject
- Inheritance
-
XmlEncodingOptions
- Implements
- Inherited Members
Constructors
XmlEncodingOptions()
Initializes a new instance of the XmlEncodingOptions class.
public XmlEncodingOptions()
Remarks
The following table shows the initial property values for an instance of XmlEncodingOptions.
Property | Initial Value |
---|---|
Preamble | DefaultPreambleSequence |
Encoding | DefaultEncoding |
OmitXmlDeclaration | false |
Properties
OmitXmlDeclaration
Gets or sets a value indicating whether to omit an XML declaration.
public bool OmitXmlDeclaration { get; set; }
Property Value
- Boolean
true to omit the XML declaration; otherwise, false. The default is false, an XML declaration is written.