XdmSerializationSettings ClassXdmSerializationSettings ClassXdmSerializationSettings Class

Describes the settings of an XdmSerializerXdmSerializerXdmSerializer.

Inheritance Hierarchy

Syntax

Public Class XdmSerializationSettings
public class XdmSerializationSettings
public:
ref class XdmSerializationSettings
 
The XdmSerializationSettingsXdmSerializationSettingsXdmSerializationSettings type exposes the following members.

Constructors

 ConstructorDescription
Public methodXdmSerializationSettings ()XdmSerializationSettings ()XdmSerializationSettings () Initializes a new instance of the XdmSerializationSettingsXdmSerializationSettingsXdmSerializationSettings class with all parameters taking default values for the XML output method.
Public methodXdmSerializationSettings (XmlQualifiedName)XdmSerializationSettings (XmlQualifiedName)XdmSerializationSettings (XmlQualifiedName^) Initializes a new instance of the XdmSerializationSettingsXdmSerializationSettingsXdmSerializationSettings class with all parameters taking default values for the specified output method.
Public methodXdmSerializationSettings (XdmSerializationSettings)XdmSerializationSettings (XdmSerializationSettings)XdmSerializationSettings (XdmSerializationSettings^) Initializes a new instance of the XdmSerializationSettingsXdmSerializationSettingsXdmSerializationSettings class from another instance.

Top

Properties

 PropertyDescription
Public propertyByteOrderMarkByteOrderMarkByteOrderMark Gets 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 propertyCharacterMappingCharacterMappingCharacterMapping Gets or sets a mapping of characters to string values.
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 propertyFragmentWrapElementFragmentWrapElementFragmentWrapElement Gets or sets an element name with which to wrap fragments.
Public propertystaticHtmlOutputMethodHtmlOutputMethodHtmlOutputMethod Gets the qualified name of the HTML output method.
Public propertyIncludeContentTypeIncludeContentTypeIncludeContentType Gets 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 propertyMediaTypeMediaTypeMediaType Gets a string specifying the media type (MIME content type) [RFC2046] 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 the standalone parameter has the value YesYesYes or the value NoNoNo, the XML declaration includes a standalone document declaration with the same value as the value of the standalone parameter. If the standalone parameter has the value OmitOmitOmit, the XML declaration will not include a standalone document declaration. In HTML and Text output modes this parameter is ignored.

Public propertystaticTextOutputMethodTextOutputMethodTextOutputMethod Gets the qualified name of the text output method.
Public propertyUndeclarePrefixesUndeclarePrefixesUndeclarePrefixes Gets 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

Methods

 MethodDescription
Public methodstaticDefaultMediaTypeDefaultMediaTypeDefaultMediaType Returns the default media type for the specified output method with name specified by methodName.
Public methodObject.EqualsObject.EqualsObject::Equals Determines whether the specified objectObjectobject is equal to the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.FinalizeObject.FinalizeObject::Finalize Allows an objectObjectobject to attempt to free resources and perform other cleanup operations before the objectObjectobject is reclaimed by garbage collection. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetHashCodeObject.GetHashCodeObject::GetHashCode Serves as a hash function for a particular type. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetTypeObject.GetTypeObject::GetType Gets the TypeTypeType of the current instance. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseClone Creates a shallow copy of the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodSetParameterSetParameterSetParameter Sets the specified serialization parameter by name, if its name is recognised by the implementation.
Public methodObject.ToStringObject.ToStringObject::ToString Returns a stringStringString that represents the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)

Top