Table of Contents

Class XmlEncodingOptions

Namespace
Cuemon.Xml
Assembly
Cuemon.Xml.dll

Configuration options for XmlEncodingOptions.

public class XmlEncodingOptions : EncodingOptions, IEncodingOptions, IParameterObject
Inheritance
Object
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.

PropertyInitial Value
PreambleDefaultPreambleSequence
EncodingDefaultEncoding
OmitXmlDeclarationfalse

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.