Freigeben über


System.Xml Namespace

Microsoft Silverlight will reach end of support after October 2021. Learn more.

The System.Xml namespace provides standards-based support for processing XML.

Classes

  Class Description
Public class NameTable Implements a single-threaded XmlNameTable.
Public class UniqueId Represents a unique identifier optimized for GUIDs.
Public class XmlBinaryReaderSession Enables optimized strings to be managed in a dynamic way.
Public class XmlBinaryWriterSession Enables using a dynamic dictionary to compress common strings that appear in a message and maintain state.
Public class XmlConvert Encodes and decodes XML names and provides methods for converting between common language runtime types. When converting data types the values returned are locale independent.
Public class XmlDictionary Implements a dictionary used to optimize Silverlight 5's XML reader/writer implementations.
Public class XmlDictionaryReader An abstractSilverlight class that provides some additional serialization and deserialization functionality to XmlReader.
Public class XmlDictionaryReaderQuotas Contains quota values for XmlDictionaryReader.
Public class XmlDictionaryString Represents an entry stored in a XmlDictionary.
Public class XmlDictionaryWriter An abstract class that Silverlight 5 derives from to do serialization and deserialization.
Public class XmlException Returns detailed information about the last exception.
Public class XmlNamespaceManager Resolves, adds, and removes namespaces to a collection and provides scope management for these namespaces.
Public class XmlNameTable Table of atomized string objects.
Public class XmlParserContext Provides all the context information required by the XmlReader to parse an XML fragment.
Public class XmlQualifiedName Represents an XML qualified name.
Public class XmlReader Represents a reader that provides fast, non-cached, forward-only access to XML data.
Public class XmlReaderSettings Specifies a set of features to support on the XmlReader object created by the Create method.
Public class XmlResolver Resolves external XML resources named by a Uniform Resource Identifier (URI).
Public class XmlWriter Represents a writer that provides a fast, non-cached, forward-only means of generating streams or files containing XML data.
Public class XmlWriterSettings Specifies a set of features to support on the XmlWriter object created by the XmlWriter.Create method.
Public class XmlXapResolver The XmlXapResolver type is used to resolve resources in the Silverlight application’s XAP package.

Interfaces

  Interface Description
Public interface IStreamProvider An interface that can be implemented by classes providing streams.
Public interface IXmlDictionary An interface that defines the contract that an XML dictionary must implement to be used by XmlDictionaryReader and XmlDictionaryWriter implementations.
Public interface IXmlLineInfo Provides an interface to enable a class to return line and position information.
Public interface IXmlNamespaceResolver Provides read-only access to a set of prefix and namespace mappings.

Enumerations

  Enumeration Description
Public enumeration ConformanceLevel Specifies the amount of input or output checking that the created XmlReader and XmlWriter objects perform.
Public enumeration DtdProcessing Specifies the options for processing DTDs. The DtdProcessing enumeration is used by XmlReaderSettings.
Public enumeration NamespaceHandling Specifies whether to remove duplicate namespace declarations in the XmlWriter.
Public enumeration NewLineHandling Specifies how to handle line breaks.
Public enumeration ReadState Specifies the state of the reader.
Public enumeration WriteState Specifies the state of the XmlWriter.
Public enumeration XmlDateTimeSerializationMode Specifies how to treat the time value when converting between string and DateTime.
Public enumeration XmlNamespaceScope Defines the namespace scope.
Public enumeration XmlNodeOrder Describes the document order of a node compared to a second node.
Public enumeration XmlNodeType Specifies the type of node.
Public enumeration XmlSpace Specifies the current xml:space scope.
Public enumeration XmlTokenizedType Represents the XML type for the string. This allows the string to be read as a particular XML type, for example a CDATA section type.