Show / Hide Table of Contents

Class XmlEncodingOptions

Configuration options for XmlEncodingOptions.

Inheritance
Object
EncodingOptions
XmlEncodingOptions
Implements
IEncodingOptions
IParameterObject
Inherited Members
EncodingOptions.DefaultPreambleSequence
EncodingOptions.DefaultEncoding
EncodingOptions.Preamble
EncodingOptions.Encoding
Namespace: Cuemon.Xml
Assembly: Cuemon.Xml.dll
Syntax
public class XmlEncodingOptions : EncodingOptions, IEncodingOptions, IParameterObject

Constructors

| Improve this Doc View Source

XmlEncodingOptions()

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.

PropertyInitial Value
PreambleDefaultPreambleSequence
EncodingDefaultEncoding
OmitXmlDeclarationfalse

Properties

| Improve this Doc View Source

OmitXmlDeclaration

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.

Implements

IEncodingOptions
IParameterObject
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright 2008-2022 Geekle. All rights reserved. Code with passion and love; deploy with confidence. 👨‍💻️🔥❤️🚀😎
Generated by DocFX