Defines XML formatting options. These additional options are used when the binary data or the C# object that represents a NAS message is converted to an XML document. More...
Public Member Functions | |
XMLOptions () | |
The default constructor. | |
Public Member Functions inherited from Oss.Nas.FormattingOptions | |
FormattingOptions () | |
The default constructor. | |
Properties | |
bool | IncludeXmlDeclaration [get, set] |
Enables the inclusion of an XML declaration into an XML document. By default, the XML declaration is omitted. | |
string | XmlDeclaration [get, set] |
Specifies the XML declaration that is included when the include_XML_declaration setting is enabled. By default, the "&?xml version="1.0" encoding="UTF-8"?&" XML declaration is implied. | |
Properties inherited from Oss.Nas.FormattingOptions | |
bool | Compact [get, set] |
Disables extraneous whitespace and indentation that is added by default for better readability. | |
int | IndentWidth [get, set] |
Specifies the width of an indentation level. The default is 2. | |
string | NewLine [get, set] |
Specifies the newline characters. By default, a string returned by Environment.NewLine is used to terminate the line. | |
bool | UseSymbolicNames [get, set] |
Enables printing of meaningful names for numeric values whenever possible. By default, values of INTEGER components are printed as numbers. | |
Defines XML formatting options. These additional options are used when the binary data or the C# object that represents a NAS message is converted to an XML document.