Class XmlEncodingOptions
Configuration options for XmlEncodingOptions.
Inherited Members
Namespace: Cuemon.Xml
Assembly: Cuemon.Xml.dll
Syntax
public class XmlEncodingOptions : EncodingOptions, IEncodingOptions, IParameterObject
Constructors
| Improve this Doc View SourceXmlEncodingOptions()
Initializes a new instance of the XmlEncodingOptions class.
Declaration
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
| Improve this Doc View SourceOmitXmlDeclaration
Gets or sets a value indicating whether to omit an XML declaration.
Declaration
public bool OmitXmlDeclaration { get; set; }
Property Value
Type | Description |
---|---|
Boolean | true to omit the XML declaration; otherwise, false. The default is false, an XML declaration is written. |