XdmWriterSettings PropertiesXdmWriterSettings PropertiesXdmWriterSettings Properties

The XdmWriterSettingsXdmWriterSettingsXdmWriterSettings type exposes the following members.

Properties

 PropertyDescription
Public propertystaticAdaptiveOutputMethodAdaptiveOutputMethodAdaptiveOutputMethod Gets the qualified name of the adaptive output method.
Public propertyAllowDuplicateNamesAllowDuplicateNamesAllowDuplicateNames Gets or sets a value indicating whether a map item serialized as a JSON object using the JSON output method is allowed to contain duplicate member names.
Public propertystaticAutoOutputMethodAutoOutputMethodAutoOutputMethod Gets the qualified name of the auto output method.
Public propertyByteOrderMarkByteOrderMarkByteOrderMark Gets or sets a value indicating whether the output should be preceded by a byte order mark.
Public propertyCDataSectionElementsCDataSectionElementsCDataSectionElements Gets a collection of element names whose contents must be output as CDATA sections.
Public propertystaticCanonicalOutputMethodCanonicalOutputMethodCanonicalOutputMethod Gets the qualified name of the canonical output method.
Public propertyCharacterMappingCharacterMappingCharacterMapping Gets the mapping of characters to string values.
Public propertyCharacterReferenceStyleCharacterReferenceStyleCharacterReferenceStyle Gets or sets the way in which character references should be serialized.
Public propertyCheckNamespacesCheckNamespacesCheckNamespaces Gets or sets the checking that is performed for namespace URI values.
Public propertyCloseOutputCloseOutputCloseOutput Gets or sets a value indicating whether the XmlWriterXmlWriterXmlWriter should also close the underlying StreamStreamStream or TextWriterTextWriterTextWriter when the CloseCloseClose method is called.
Public propertyConformanceLevelConformanceLevelConformanceLevel Gets or sets the level of conformance that the serialized document must conform with.
Public propertyDoctypePublicDoctypePublicDoctypePublic Gets or sets the PUBLIC document type.
Public propertyDoctypeSystemDoctypeSystemDoctypeSystem Gets or sets the SYSTEM document type.
Public propertyEncodingEncodingEncoding Gets or sets the character encoding to be used.
Public propertyEscapeUriAttributesEscapeUriAttributesEscapeUriAttributes Gets or sets a value indicating whether URI escaping is enabled.
Public propertystaticHtmlOutputMethodHtmlOutputMethodHtmlOutputMethod Gets the qualified name of the HTML output method.
Public propertyHtmlVersionHtmlVersionHtmlVersion Gets or sets the HTML version to be used.
Public propertyIncludeContentTypeIncludeContentTypeIncludeContentType Gets or sets a value indicating whether a meta tag should be added to indicate content type.
Public propertyIndentIndentIndent Gets or sets a value indicating whether output should be indented.
Public propertyIndentationCharactersIndentationCharactersIndentationCharacters Gets or sets the character string used for indentation.
Public propertyItemSeparatorItemSeparatorItemSeparator Gets or sets a value the item separator string.
Public propertyJsonNodeOutputMethodJsonNodeOutputMethodJsonNodeOutputMethod Gets or sets the JSON node output method.
Public propertystaticJsonOutputMethodJsonOutputMethodJsonOutputMethod Gets the qualified name of the JSON output method.
Public propertyMediaTypeMediaTypeMediaType Gets or sets a string specifying the media type (MIME content type) of the output.
Public propertyMethodMethodMethod Gets or sets the output method.
Public propertyNewLineCharsNewLineCharsNewLineChars Gets or sets the character string to use for line breaks.
Public propertyNormalizationFormNormalizationFormNormalizationForm Gets or sets the normalization form.
Public propertyOmitXmlDeclarationOmitXmlDeclarationOmitXmlDeclaration Gets or sets a value indicating whether the XML declaration should be omitted in the output.
Public propertyStandaloneStandaloneStandalone Gets or sets a value indicating whether the XML declaration must contain a standalone document declaration.

This property corresponds to the standalone serialization parameter.

If this property has the value YesYesYes or the value NoNoNo, the XML declaration includes a standalone document declaration with the value specified by this property. If the standalone parameter has the value OmitOmitOmit, the XML declaration will not include a standalone document declaration.

If MethodMethodMethod is not set to XmlOutputMethodXmlOutputMethodXmlOutputMethod or XHtmlOutputMethodXHtmlOutputMethodXHtmlOutputMethod then this property is ignored.

If this property is not set to OmitOmitOmit, OmitXmlDeclarationOmitXmlDeclarationOmitXmlDeclaration is set to trueTruetrue and MethodMethodMethod is set to XmlOutputMethodXmlOutputMethodXmlOutputMethod or XHtmlOutputMethodXHtmlOutputMethodXHtmlOutputMethod then a SEPM0009 XdmExceptionXdmExceptionXdmException is thrown when serialization is attempted.

By default this property is set to OmitOmitOmit.

Public propertySuppressIndentationSuppressIndentationSuppressIndentation Gets a collection of element names for which indentation must be suppressed.
Public propertystaticTextOutputMethodTextOutputMethodTextOutputMethod Gets the qualified name of the text output method.
Public propertyUndeclarePrefixesUndeclarePrefixesUndeclarePrefixes Gets or sets a value indicating whether serializer should undeclare namespaces.
Public propertyVersionVersionVersion Gets or sets the XML version to be used.
Public propertystaticXHtmlOutputMethodXHtmlOutputMethodXHtmlOutputMethod Gets the qualified name of the XHTML output method.
Public propertystaticXmlOutputMethodXmlOutputMethodXmlOutputMethod Gets the qualified name of the XML output method.

Top