System.Xml namespaces for UWP apps

System.Xml namespaces for UWP apps

 

System.Xml and its child namespaces (System.Xml.Linq, System.Xml.Schema, and System.Xml.Serialization) contain types for processing XML.

This topic displays the types in the System.Xml namespaces that are included in .NET for UWP apps. Note that .NET for UWP apps does not include all the members of each type. For information about individual types, see the linked topics. The documentation for a type indicates which members are included in .NET for UWP apps.

Types supported in .NET for UWP apps

Description

ConformanceLevel

Specifies the amount of input or output checking that the created XmlReader and XmlWriter objects perform.

DtdProcessing

Specifies the options for processing DTDs. The DtdProcessing enumeration is used by XmlReaderSettings.

IXmlDictionary

An interface that defines the contract that an Xml dictionary must implement to be used by XmlDictionaryReader and XmlDictionaryWriter implementations.

IXmlLineInfo

Provides an interface to enable a class to return line and position information.

IXmlNamespaceResolver

Provides read-only access to a set of prefix and namespace mappings.

NamespaceHandling

Specifies whether to remove duplicate namespace declarations in the XmlWriter.

NameTable

Implements a single-threaded XmlNameTable.

NewLineHandling

Specifies how to handle line breaks.

OnXmlDictionaryReaderClose

delegate for a callback method when closing the reader.

ReadState

Specifies the state of the reader.

UniqueId

A unique identifier optimized for Guids.

WriteState

Specifies the state of the XmlWriter.

XmlAttribute

Represents an attribute. Valid and default values for the attribute are defined in a document type definition (DTD) or schema.

XmlAttributeCollection

Represents a collection of attributes that can be accessed by name or index.

XmlBinaryReaderSession

Enables optimized strings to be managed in a dynamic way.

XmlBinaryWriterSession

Enables using a dynamic dictionary to compress common strings that appear in a message and maintain state.

XmlCDataSection

Represents a CDATA section.

XmlCharacterData

Provides text manipulation methods that are used by several classes.

XmlComment

Represents the content of an XML comment.

XmlConvert

Encodes and decodes XML names and provides methods for converting between common language runtime types and XML Schema definition language (XSD) types. When converting data types the values returned are locale independent.

XmlDateTimeSerializationMode

Specifies how to treat the time value when converting between string and DateTime.

XmlDeclaration

Represents the XML declaration node <?xml version='1.0'...?>.

XmlDictionary

Implements a dictionary used to optimize indigo1’s XML reader/writer implementations.

XmlDictionaryReader

An abstract class that the indigo1 derives from to do serialization and deserialization.

XmlDictionaryReaderQuotas

Contains configurable quota values for XmlDictionaryReaders.

XmlDictionaryReaderQuotaTypes

Enumerates the configurable quota values for XmlDictionaryReaders.

XmlDictionaryString

Represents an entry stored in a XmlDictionary.

XmlDictionaryWriter

An abstract class that the indigo1 derives from to do serialization and deserialization.

XmlDocument

Represents an XML document. You can use this class to load; validate; edit; add; and position XML in a document. For examples; see the Remarks section on this page.

XmlDocumentFragment

Represents a lightweight object that is useful for tree insert operations.

XmlElement

Represents an element.

XmlException

Returns detailed information about the last exception.

XmlImplementation

Defines the context for a set of XmlDocument objects.

XmlLinkedNode

Gets the node immediately preceding or following this node.

XmlNamedNodeMap

Represents a collection of nodes that can be accessed by name or index.

XmlNamespaceManager

Resolves, adds, and removes namespaces to a collection and provides scope management for these namespaces.

XmlNamespaceScope

Defines the namespace scope.

XmlNameTable

Table of atomized string objects.

XmlNode

Represents a single node in the XML document.

XmlNodeChangedAction

Specifies the type of node change.

XmlNodeChangedEventArgs

Provides data for the NodeChanged; NodeChanging; NodeInserted; NodeInserting; NodeRemoved and NodeRemoving events.

XmlNodeChangedEventHandler

Represents the method that handles NodeChanged; NodeChanging; NodeInserted; NodeInserting; NodeRemoved and NodeRemoving events.

XmlNodeList

Represents an ordered collection of nodes.

XmlNodeOrder

Describes the document order of a node compared to a second node.

XmlNodeType

Specifies the type of node.

XmlParserContext

Provides all the context information required by the XmlReader to parse an XML fragment.

XmlProcessingInstruction

Represents a processing instruction; which XML defines to keep processor-specific information in the text of the document.

XmlQualifiedName

Represents an XML qualified name.

XmlReader

Represents a reader that provides fast, non-cached, forward-only access to XML data.

XmlReaderSettings

Specifies a set of features to support on the XmlReader object created by the Create method.

XmlSignificantWhitespace

Represents white space between markup in a mixed content node or white space within an xml:space= 'preserve' scope. This is also referred to as significant white space.

XmlSpace

Specifies the current xml:space scope.

XmlText

Represents the text content of an element or attribute.

XmlWhitespace

Represents white space in element content.

XmlWriter

Represents a writer that provides a fast, non-cached, forward-only means of generating streams or files containing XML data.

XmlWriterSettings

Specifies a set of features to support on the XmlWriter object created by the Create method.

Types supported in the .NET for UWP apps

Description

Extensions

Contains the LINQ to XML extension methods.

LoadOptions

Specifies load options when parsing XML.

ReaderOptions

Specifies whether to omit duplicate namespaces when loading an XDocument with an XmlReader.

SaveOptions

Specifies serialization options.

XAttribute

Represents an XML attribute.

XCData

Represents a text node that contains CDATA.

XComment

Represents an XML comment.

XContainer

Represents a node that can contain other nodes.

XDeclaration

Represents an XML declaration.

XDocument

Represents an XML document.

XDocumentType

Represents an XML Document Type Definition (DTD).

XElement

Represents an XML element.

XName

Represents a name of an XML element or attribute.

XNamespace

Represents an XML namespace. This class cannot be inherited.

XNode

Represents the abstract concept of a node (element, comment, document type, processing instruction, or text node) in the XML tree.

XNodeDocumentOrderComparer

Contains functionality to compare nodes for their document order. This class cannot be inherited.

XNodeEqualityComparer

Compares nodes to determine whether they are equal. This class cannot be inherited.

XObject

Represents a node or an attribute in an XML tree.

XObjectChange

Specifies the event type when an event is raised for an XObject.

XObjectChangeEventArgs

Provides data for the Changing and Changed events.

XProcessingInstruction

Represents an XML processing instruction.

XStreamingElement

Represents elements in an XML tree that supports deferred streaming output.

XText

Represents a text node.

Extensions

Contains the LINQ to XML extension methods.

Types supported in the .NET for UWP apps

Description

XmlSchema

An in-memory representation of an XML Schema as specified in the World Wide Web Consortium (W3C) XML Schema Part 1: Structures and XML Schema Part 2: Datatypes specifications.

XmlSchemaForm

Indicates if attributes or elements need to be qualified with a namespace prefix.

Extensions

This class contains the LINQ to XML extension methods for XSD validation.

Types supported in the .NET for UWP apps

Description

IXmlSerializable

Provides custom formatting for XML serialization and deserialization.

XmlAnyAttributeAttribute

Specifies that the member (a field that returns an array of XmlAttribute objects) can contain any XML attributes.

XmlAnyElementAttribute

Specifies that the member (a field that returns an array of XmlElement or XmlNode objects) contains objects that represent any XML element that has no corresponding member in the object being serialized or deserialized.

XmlAnyElementAttributes

Represents a collection of XmlAnyElementAttribute objects.

XmlArrayAttribute

Specifies that the XmlSerializer must serialize a particular class member as an array of XML elements.

XmlArrayItemAttribute

Specifies the derived types that the XmlSerializer can place in a serialized array.

XmlArrayItemAttributes

Represents a collection of XmlArrayItemAttribute objects.

XmlAttributeAttribute

Specifies that the XmlSerializer must serialize the class member as an XML attribute.

XmlAttributeOverrides

Allows you to override property, field, and class attributes when you use the XmlSerializer to serialize or deserialize an object.

XmlAttributes

Represents a collection of attribute objects that control how the XmlSerializer serializes and deserializes an object.

XmlChoiceIdentifierAttribute

Specifies that the member can be further detected by using an enumeration.

XmlElementAttribute

Indicates that a public field or property represents an XML element when the XmlSerializer serializes or deserializes the object that contains it.

XmlElementAttributes

Represents a collection of XmlElementAttribute objects used by the XmlSerializer to override the default way it serializes a class.

XmlEnumAttribute

Controls how the XmlSerializer serializes an enumeration member.

XmlIgnoreAttribute

Instructs the Serialize method of the XmlSerializer not to serialize the public field or public read/write property value.

XmlIncludeAttribute

Allows the XmlSerializer to recognize a type when it serializes or deserializes an object.

XmlNamespaceDeclarationsAttribute

Specifies that the target property, parameter, return value, or class member contains prefixes associated with namespaces that are used within an XML document.

XmlRootAttribute

Controls XML serialization of the attribute target as an XML root element.

XmlSchemaProviderAttribute

When applied to a type, stores the name of a static method of the type that returns an XML schema and a XmlQualifiedName (or XmlSchemaType for anonymous types) that controls the serialization of the type.

XmlSerializer

Serializes and deserializes objects into and from XML documents. The XmlSerializer enables you to control how objects are encoded into XML.

XmlSerializerNamespaces

Contains the XML namespaces and prefixes that the XmlSerializer uses to generate qualified names in an XML-document instance.

XmlTextAttribute

Indicates to the XmlSerializer that the member must be treated as XML text when the class that contains it is serialized or deserialized.

XmlTypeAttribute

Controls the XML schema that is generated when the attribute target is serialized by the XmlSerializer.

Types supported in the .NET for UWP apps

Description

T:System.Xml.XmlDocumentXPathExtensions

For more information, see T:System.Xml.XmlDocumentXPathExtensions.

T:System.Xml.XPath.XDocumentExtensions

For more information, see T:System.Xml.XPath.XDocumentExtensions.

Show:
© 2017 Microsoft