共用方式為


XmlDictionaryReader Class

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

An abstractSilverlight class that provides some additional serialization and deserialization functionality to XmlReader.

Inheritance Hierarchy

System.Object
  System.Xml.XmlReader
    System.Xml.XmlDictionaryReader

Namespace:  System.Xml
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

Syntax

'Declaration
Public MustInherit Class XmlDictionaryReader _
    Inherits XmlReader
public abstract class XmlDictionaryReader : XmlReader

The XmlDictionaryReader type exposes the following members.

Constructors

  Name Description
Protected methodSupported by Silverlight for Windows Phone XmlDictionaryReader When implemented by a non-abstract class derived from this base class, creates a new instance of that derived class.

Top

Properties

  Name Description
Public propertySupported by Silverlight for Windows Phone AttributeCount When overridden in a derived class, gets the number of attributes on the current node. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone BaseURI When overridden in a derived class, gets the base URI of the current node. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone CanCanonicalize This property always returns false. Its derived classes can override to return true if they support canonicalization.
Public propertySupported by Silverlight for Windows Phone CanReadBinaryContent Gets a value indicating whether the XmlReader implements the binary content read methods. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone CanReadValueChunk Gets a value indicating whether the XmlReader implements the ReadValueChunk method. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone CanResolveEntity Gets a value indicating whether this reader can parse and resolve entities. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone Depth When overridden in a derived class, gets the depth of the current node in the XML document. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone EOF When overridden in a derived class, gets a value indicating whether the reader is positioned at the end of the stream. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone HasAttributes Gets a value indicating whether the current node has any attributes. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone HasValue When overridden in a derived class, gets a value indicating whether the current node can have a Value. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone IsDefault When overridden in a derived class, gets a value indicating whether the current node is an attribute that was generated from the default value defined in the DTD. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone IsEmptyElement When overridden in a derived class, gets a value indicating whether the current node is an empty element (for example, <MyElement/>). (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone Item[Int32] When overridden in a derived class, gets the value of the attribute with the specified index. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone Item[String] When overridden in a derived class, gets the value of the attribute with the specified Name. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone Item[String, String] When overridden in a derived class, gets the value of the attribute with the specified LocalName and NamespaceURI. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone LocalName When overridden in a derived class, gets the local name of the current node. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone Name When overridden in a derived class, gets the qualified name of the current node. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone NamespaceURI When overridden in a derived class, gets the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone NameTable When overridden in a derived class, gets the XmlNameTable associated with this implementation. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone NodeType When overridden in a derived class, gets the type of the current node. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone Prefix When overridden in a derived class, gets the namespace prefix associated with the current node. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone Quotas Gets the quota values that apply to the current instance of this reader class.
Public propertySupported by Silverlight for Windows Phone ReadState When overridden in a derived class, gets the state of the reader. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone Settings Gets the XmlReaderSettings object used to create this XmlReader instance. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone Value When overridden in a derived class, gets the text value of the current node. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone ValueType Gets the common language runtime (CLR) type for the current node. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone XmlLang When overridden in a derived class, gets the current xml:lang scope. (Inherited from XmlReader.)
Public propertySupported by Silverlight for Windows Phone XmlSpace When overridden in a derived class, gets the current xml:space scope. (Inherited from XmlReader.)

Top

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone Close When overridden in a derived class, changes the ReadState to Closed. (Inherited from XmlReader.)
Public methodStatic memberSupported by Silverlight for Windows Phone CreateBinaryReader(array<Byte[], XmlDictionaryReaderQuotas) Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.
Public methodStatic memberSupported by Silverlight for Windows Phone CreateBinaryReader(Stream, XmlDictionaryReaderQuotas) Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.
Public methodStatic memberSupported by Silverlight for Windows Phone CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas) Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.
Public methodStatic memberSupported by Silverlight for Windows Phone CreateBinaryReader(array<Byte[], Int32, Int32, XmlDictionaryReaderQuotas) Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.
Public methodStatic member CreateBinaryReader(Stream, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession) Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.
Public methodStatic memberSupported by Silverlight for Windows Phone CreateBinaryReader(array<Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas) Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.
Public methodStatic member CreateBinaryReader(array<Byte[], Int32, Int32, IXmlDictionary, XmlDictionaryReaderQuotas, XmlBinaryReaderSession) Creates an instance of XmlDictionaryReader that can read .NET Binary XML Format.
Public methodStatic memberSupported by Silverlight for Windows Phone CreateDictionaryReader Creates an instance of XmlDictionaryReader from an existing XmlReader.
Public methodStatic member CreateTextReader(array<Byte[], XmlDictionaryReaderQuotas) Creates an instance of XmlDictionaryReader.
Public methodStatic member CreateTextReader(Stream, XmlDictionaryReaderQuotas) Creates an instance of XmlDictionaryReader.
Public methodStatic member CreateTextReader(array<Byte[], Int32, Int32, XmlDictionaryReaderQuotas) Creates an instance of XmlDictionaryReader.
Public methodSupported by Silverlight for Windows Phone Dispose() (Inherited from XmlReader.)
Protected methodSupported by Silverlight for Windows Phone Dispose(Boolean) Releases the unmanaged resources used by the XmlReader and optionally releases the managed resources. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone EndCanonicalization This method is not supported on this base class and can be implemented on a derived class.
Public methodSupported by Silverlight for Windows Phone Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows Phone Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone GetAttribute(Int32) When overridden in a derived class, gets the value of the attribute with the specified index. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone GetAttribute(String) When overridden in a derived class, gets the value of the attribute with the specified Name. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone GetAttribute(String, String) When overridden in a derived class, gets the value of the attribute with the specified LocalName and NamespaceURI. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone GetAttribute(XmlDictionaryString, XmlDictionaryString) When overridden in a derived class, gets the value of an attribute.
Public methodSupported by Silverlight for Windows Phone GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone IndexOfLocalName(array<String[], String) Gets the index of the local name of the current node within an array of names.
Public methodSupported by Silverlight for Windows Phone IndexOfLocalName(array<XmlDictionaryString[], XmlDictionaryString) Gets the index of the local name of the current node within an array of names.
Public methodSupported by Silverlight for Windows Phone IsLocalName(String) Checks whether the parameter, localName, is the local name of the current node.
Public methodSupported by Silverlight for Windows Phone IsLocalName(XmlDictionaryString) Checks whether the parameter, localName, is the local name of the current node.
Public methodSupported by Silverlight for Windows Phone IsNamespaceUri(String) Checks whether the parameter, namespaceUri, is the namespace of the current node.
Public methodSupported by Silverlight for Windows Phone IsNamespaceUri(XmlDictionaryString) Checks whether the parameter, namespaceUri, is the namespace of the current node.
Public methodSupported by Silverlight for Windows Phone IsStartArray Checks whether the reader is positioned at the start of an array. This class returns false, but derived classes that have the concept of arrays might return true.
Public methodSupported by Silverlight for Windows Phone IsStartElement() Calls MoveToContent and tests if the current content node is a start tag or empty element tag. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone IsStartElement(String) Calls MoveToContent and tests if the current content node is a start tag or empty element tag and if the Name property of the element found matches the given argument. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone IsStartElement(String, String) Calls MoveToContent and tests if the current content node is a start tag or empty element tag and if the LocalName and NamespaceURI properties of the element found match the given strings. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone IsStartElement(XmlDictionaryString, XmlDictionaryString) Tests whether the first element is a start element or empty element and whether the local name and namespace URI match those of the current node.
Protected methodSupported by Silverlight for Windows Phone IsTextNode Tests whether the current node is a text node.
Public methodSupported by Silverlight for Windows Phone LookupNamespace When overridden in a derived class, resolves a namespace prefix in the current element's scope. (Inherited from XmlReader.)
Protected methodSupported by Silverlight for Windows Phone MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone MoveToAttribute(Int32) When overridden in a derived class, moves to the attribute with the specified index. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone MoveToAttribute(String) When overridden in a derived class, moves to the attribute with the specified Name. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone MoveToAttribute(String, String) When overridden in a derived class, moves to the attribute with the specified LocalName and NamespaceURI. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone MoveToContent Checks whether the current node is a content (non-white space text, CDATA, Element, EndElement, EntityReference, or EndEntity) node. If the node is not a content node, the reader skips ahead to the next content node or end of file. It skips over nodes of the following type: ProcessingInstruction, DocumentType, Comment, Whitespace, or SignificantWhitespace. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone MoveToElement When overridden in a derived class, moves to the element that contains the current attribute node. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone MoveToFirstAttribute When overridden in a derived class, moves to the first attribute. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone MoveToNextAttribute When overridden in a derived class, moves to the next attribute. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone MoveToStartElement() Tests whether the current content node is a start element.
Public methodSupported by Silverlight for Windows Phone MoveToStartElement(String) Tests whether the current content node is a start element and if the Name property of the element matches the given argument.
Public methodSupported by Silverlight for Windows Phone MoveToStartElement(String, String) Tests whether the current content node is a start element and whether the LocalName and NamespaceURI properties of the element match the given arguments.
Public methodSupported by Silverlight for Windows Phone MoveToStartElement(XmlDictionaryString, XmlDictionaryString) Tests whether the current content node is a start element and whether the LocalName and NamespaceURI properties of the element match the given argument.
Public methodSupported by Silverlight for Windows Phone Read When overridden in a derived class, reads the next node from the stream. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadArray(String, String, array<Boolean[], Int32, Int32) Reads repeated occurrences of Boolean nodes into a typed array.
Public methodSupported by Silverlight for Windows Phone ReadArray(String, String, array<DateTime[], Int32, Int32) Reads repeated occurrences of DateTime nodes into a typed array.
Public methodSupported by Silverlight for Windows Phone ReadArray(String, String, array<Decimal[], Int32, Int32) Reads repeated occurrences of Decimal nodes into a typed array.
Public methodSupported by Silverlight for Windows Phone ReadArray(String, String, array<Double[], Int32, Int32) Reads repeated occurrences of Double nodes into a typed array.
Public methodSupported by Silverlight for Windows Phone ReadArray(String, String, array<Guid[], Int32, Int32) Reads repeated occurrences of Guid nodes into a typed array.
Public methodSupported by Silverlight for Windows Phone ReadArray(String, String, array<Int16[], Int32, Int32) Reads repeated occurrences of short integers into a typed array.
Public methodSupported by Silverlight for Windows Phone ReadArray(String, String, array<Int32[], Int32, Int32) Reads repeated occurrences of integers into a typed array.
Public methodSupported by Silverlight for Windows Phone ReadArray(String, String, array<Int64[], Int32, Int32) Reads repeated occurrences of long integers into a typed array.
Public methodSupported by Silverlight for Windows Phone ReadArray(String, String, array<Single[], Int32, Int32) Reads repeated occurrences of float numbers into a typed array.
Public methodSupported by Silverlight for Windows Phone ReadArray(String, String, array<TimeSpan[], Int32, Int32) Reads repeated occurrences of TimeSpan nodes into a typed array.
Public methodSupported by Silverlight for Windows Phone ReadArray(XmlDictionaryString, XmlDictionaryString, array<Boolean[], Int32, Int32) Reads repeated occurrences of Boolean nodes into a typed array.
Public methodSupported by Silverlight for Windows Phone ReadArray(XmlDictionaryString, XmlDictionaryString, array<DateTime[], Int32, Int32) Reads repeated occurrences of DateTime nodes into a typed array.
Public methodSupported by Silverlight for Windows Phone ReadArray(XmlDictionaryString, XmlDictionaryString, array<Decimal[], Int32, Int32) Reads repeated occurrences of Decimal nodes into a typed array.
Public methodSupported by Silverlight for Windows Phone ReadArray(XmlDictionaryString, XmlDictionaryString, array<Double[], Int32, Int32) Reads repeated occurrences of Double nodes type into a typed array.
Public methodSupported by Silverlight for Windows Phone ReadArray(XmlDictionaryString, XmlDictionaryString, array<Guid[], Int32, Int32) Reads repeated occurrences of Guid nodes into a typed array.
Public methodSupported by Silverlight for Windows Phone ReadArray(XmlDictionaryString, XmlDictionaryString, array<Int16[], Int32, Int32) Reads repeated occurrences of short integers into a typed array.
Public methodSupported by Silverlight for Windows Phone ReadArray(XmlDictionaryString, XmlDictionaryString, array<Int32[], Int32, Int32) Reads repeated occurrences of integers into a typed array.
Public methodSupported by Silverlight for Windows Phone ReadArray(XmlDictionaryString, XmlDictionaryString, array<Int64[], Int32, Int32) Reads repeated occurrences of long integers into a typed array.
Public methodSupported by Silverlight for Windows Phone ReadArray(XmlDictionaryString, XmlDictionaryString, array<Single[], Int32, Int32) Reads repeated occurrences of float numbers into a typed array.
Public methodSupported by Silverlight for Windows Phone ReadArray(XmlDictionaryString, XmlDictionaryString, array<TimeSpan[], Int32, Int32) Reads repeated occurrences of TimeSpan nodes into a typed array.
Public methodSupported by Silverlight for Windows Phone ReadAttributeValue When overridden in a derived class, parses the attribute value into one or more Text, EntityReference, or EndEntity nodes. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadBooleanArray(String, String) Reads repeated occurrences of Boolean nodes into a typed array.
Public methodSupported by Silverlight for Windows Phone ReadBooleanArray(XmlDictionaryString, XmlDictionaryString) Reads repeated occurrences of Boolean nodes into a typed array.
Public methodSupported by Silverlight for Windows Phone ReadContentAs Converts a node's content to a specified type. (Overrides XmlReader.ReadContentAs(Type, IXmlNamespaceResolver).)
Public methodSupported by Silverlight for Windows Phone ReadContentAsBase64() Reads the content and returns the Base64 decoded binary bytes.
Public methodSupported by Silverlight for Windows Phone ReadContentAsBase64(array<Byte[], Int32, Int32) Reads the content and returns the Base64 decoded binary bytes. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadContentAsBinHex() Reads the content and returns the BinHex decoded binary bytes.
Protected methodSupported by Silverlight for Windows Phone ReadContentAsBinHex(Int32) Reads the content and returns the BinHex decoded binary bytes.
Public methodSupported by Silverlight for Windows Phone ReadContentAsBinHex(array<Byte[], Int32, Int32) Reads the content and returns the BinHex decoded binary bytes. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadContentAsBoolean Reads the text content at the current position as a Boolean. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadContentAsChars Reads the content into a char array.
Public methodSupported by Silverlight for Windows Phone ReadContentAsDateTime Reads the text content at the current position as a DateTime object. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadContentAsDecimal Converts a node's content to decimal. (Overrides XmlReader.ReadContentAsDecimal().)
Public methodSupported by Silverlight for Windows Phone ReadContentAsDouble Reads the text content at the current position as a double-precision floating-point number. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadContentAsFloat Converts a node's content to float. (Overrides XmlReader.ReadContentAsFloat().)
Public methodSupported by Silverlight for Windows Phone ReadContentAsGuid Converts a node's content to guid.
Public methodSupported by Silverlight for Windows Phone ReadContentAsInt Reads the text content at the current position as a 32-bit signed integer. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadContentAsLong Reads the text content at the current position as a 64-bit signed integer. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadContentAsObject Reads the text content at the current position as an Object. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadContentAsQualifiedName Converts a node's content to a qualified name representation.
Public methodSupported by Silverlight for Windows Phone ReadContentAsString() Converts a node's content to a string. (Overrides XmlReader.ReadContentAsString().)
Protected methodSupported by Silverlight for Windows Phone ReadContentAsString(Int32) Converts a node's content to a string.
Public methodSupported by Silverlight for Windows Phone ReadContentAsString(array<String[], Int32%) Converts a node's content to a string.
Public methodSupported by Silverlight for Windows Phone ReadContentAsString(array<XmlDictionaryString[], Int32%) Converts a node's content to a string.
Public methodSupported by Silverlight for Windows Phone ReadContentAsTimeSpan Converts a node's content to TimeSpan.
Public methodSupported by Silverlight for Windows Phone ReadContentAsUniqueId Converts a node's content to a unique identifier.
Public methodSupported by Silverlight for Windows Phone ReadDateTimeArray(String, String) Converts a node's content to a DateTime array.
Public methodSupported by Silverlight for Windows Phone ReadDateTimeArray(XmlDictionaryString, XmlDictionaryString) Converts a node's content to a DateTime array.
Public methodSupported by Silverlight for Windows Phone ReadDecimalArray(String, String) Converts a node's content to a DateTime array.
Public methodSupported by Silverlight for Windows Phone ReadDecimalArray(XmlDictionaryString, XmlDictionaryString) Converts a node's content to a DateTime array.
Public methodSupported by Silverlight for Windows Phone ReadDoubleArray(String, String) Converts a node's content to a DateTime array.
Public methodSupported by Silverlight for Windows Phone ReadDoubleArray(XmlDictionaryString, XmlDictionaryString) Converts a node's content to a DateTime array.
Public methodSupported by Silverlight for Windows Phone ReadElementContentAs(Type, IXmlNamespaceResolver) Reads the element content as the requested type. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadElementContentAs(Type, IXmlNamespaceResolver, String, String) Checks that the specified local name and namespace URI matches that of the current element, then reads the element content as the requested type. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsBase64() Converts a node's content to a array of Base64 bytes.
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsBase64(array<Byte[], Int32, Int32) Reads the element and decodes the Base64 content. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsBinHex() Converts a node's content to an array of BinHex bytes.
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsBinHex(array<Byte[], Int32, Int32) Reads the element and decodes the BinHex content. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsBoolean() Converts an element's content to a Boolean. (Overrides XmlReader.ReadElementContentAsBoolean().)
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsBoolean(String, String) Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a Boolean object. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsDateTime() Converts an element's content to a DateTime. (Overrides XmlReader.ReadElementContentAsDateTime().)
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsDateTime(String, String) Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a DateTime object. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsDecimal() Converts an element's content to a Decimal. (Overrides XmlReader.ReadElementContentAsDecimal().)
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsDecimal(String, String) Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a Decimal object. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsDouble() Converts an element's content to a Double. (Overrides XmlReader.ReadElementContentAsDouble().)
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsDouble(String, String) Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a double-precision floating-point number. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsFloat() Converts an element's content to a floating point number (Single). (Overrides XmlReader.ReadElementContentAsFloat().)
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsFloat(String, String) Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a single-precision floating-point number. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsGuid Converts an element's content to a Guid.
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsInt() Converts an element's content to an integer (Int32). (Overrides XmlReader.ReadElementContentAsInt().)
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsInt(String, String) Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a 32-bit signed integer. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsLong() Converts an element's content to a long integer (Int64). (Overrides XmlReader.ReadElementContentAsLong().)
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsLong(String, String) Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a 64-bit signed integer. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsObject() Reads the current element and returns the contents as an Object. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsObject(String, String) Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as an Object. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsString() Converts an element's content to a String. (Overrides XmlReader.ReadElementContentAsString().)
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsString(String, String) Checks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a String object. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsTimeSpan Converts an element's content to a TimeSpan.
Public methodSupported by Silverlight for Windows Phone ReadElementContentAsUniqueId Converts an element's content to a unique identifier.
Public methodSupported by Silverlight for Windows Phone ReadEndElement Checks that the current content node is an end tag and advances the reader to the next node. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadFullStartElement() Checks whether the current node is a start element and whether it is a nonempty element, and reads it if these conditions are satisfied, advancing the reader to the next node. Throws an exception if it is not a start element or if it is an empty element.
Public methodSupported by Silverlight for Windows Phone ReadFullStartElement(String) Checks whether the named node is a start element and whether it is a nonempty element, and reads it if these conditions are satisfied, advancing the reader to the next node. Throws an exception if it is not a start element or if it is an empty element.
Public methodSupported by Silverlight for Windows Phone ReadFullStartElement(String, String) Checks whether the node with the given localName and namespaceUri is a start element and whether it is a nonempty element, and reads it if these conditions are satisfied, advancing the reader to the next node. Throws an exception if it is not a start element or if it is an empty element.
Public methodSupported by Silverlight for Windows Phone ReadFullStartElement(XmlDictionaryString, XmlDictionaryString) Checks whether the node with the given localName and namespaceUri is a start element and whether it is a nonempty element, and reads it if these conditions are satisfied, advancing the reader to the next node. Throws an exception if it is not a start element or if it is an empty element.
Public methodSupported by Silverlight for Windows Phone ReadGuidArray(String, String) Reads the contents of a series of nodes with the given localName and namespaceUri into an array of Guid.
Public methodSupported by Silverlight for Windows Phone ReadGuidArray(XmlDictionaryString, XmlDictionaryString) Reads the contents of a series of nodes with the given localName and namespaceUri into an array of Guid.
Public methodSupported by Silverlight for Windows Phone ReadInnerXml When overridden in a derived class, reads all the content, including markup, as a string. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadInt16Array(String, String) Reads the contents of a series of nodes with the given localName and namespaceUri into an array of short integers (Int16).
Public methodSupported by Silverlight for Windows Phone ReadInt16Array(XmlDictionaryString, XmlDictionaryString) Reads the contents of a series of nodes with the given localName and namespaceUri into an array of short integers (Int16).
Public methodSupported by Silverlight for Windows Phone ReadInt32Array(String, String) Reads the contents of a series of nodes with the given localName and namespaceUri into an array of integers (Int32).
Public methodSupported by Silverlight for Windows Phone ReadInt32Array(XmlDictionaryString, XmlDictionaryString) Reads the contents of a series of nodes with the given localName and namespaceUri into an array of integers (Int32).
Public methodSupported by Silverlight for Windows Phone ReadInt64Array(String, String) Reads the contents of a series of nodes with the given localName and namespaceUri into an array of long integers (Int64).
Public methodSupported by Silverlight for Windows Phone ReadInt64Array(XmlDictionaryString, XmlDictionaryString) Reads the contents of a series of nodes with the given localName and namespaceUri into an array of long integers (Int64).
Public methodSupported by Silverlight for Windows Phone ReadOuterXml When overridden in a derived class, reads the content, including markup, representing this node and all its children. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadSingleArray(String, String) Reads the contents of a series of nodes with the given localName and namespaceUri into an array of float numbers (Single).
Public methodSupported by Silverlight for Windows Phone ReadSingleArray(XmlDictionaryString, XmlDictionaryString) Reads the contents of a series of nodes with the given localName and namespaceUri into an array of float numbers (Single).
Public methodSupported by Silverlight for Windows Phone ReadStartElement() Checks that the current node is an element and advances the reader to the next node. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadStartElement(String) Checks that the current content node is an element with the given Name and advances the reader to the next node. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadStartElement(String, String) Checks that the current content node is an element with the given LocalName and NamespaceURI and advances the reader to the next node. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadStartElement(XmlDictionaryString, XmlDictionaryString) Checks whether the node with the given localName and namespaceUri is a start element and advances the reader to the next node. Throws an exception if the node is not a start element.
Public methodSupported by Silverlight for Windows Phone ReadSubtree Returns a new XmlReader instance that can be used to read the current node, and all its descendants. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadTimeSpanArray(String, String) Reads the contents of a series of nodes with the given localName and namespaceUri into a TimeSpan array.
Public methodSupported by Silverlight for Windows Phone ReadTimeSpanArray(XmlDictionaryString, XmlDictionaryString) Reads the contents of a series of nodes with the given localName and namespaceUri into a TimeSpan array.
Public methodSupported by Silverlight for Windows Phone ReadToDescendant(String) Advances the XmlReader to the next descendant element with the specified qualified name. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadToDescendant(String, String) Advances the XmlReader to the next descendant element with the specified local name and namespace URI. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadToFollowing(String) Reads until an element with the specified qualified name is found. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadToFollowing(String, String) Reads until an element with the specified local name and namespace URI is found. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadToNextSibling(String) Advances the XmlReader to the next sibling element with the specified qualified name. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadToNextSibling(String, String) Advances the XmlReader to the next sibling element with the specified local name and namespace URI. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ReadValueAsBase64 This method is not supported by this class.
Public methodSupported by Silverlight for Windows Phone ReadValueChunk Reads large streams of text embedded in an XML document. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone ResolveEntity When overridden in a derived class, resolves the entity reference for EntityReference nodes. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone Skip Skips the children of the current node. (Inherited from XmlReader.)
Public methodSupported by Silverlight for Windows Phone StartCanonicalization This method is not supported in this class. It may be implemented in a derived class.
Public methodSupported by Silverlight for Windows Phone ToString Returns a string that represents the current object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone TryGetArrayLength Not implemented in this class (it always returns false). May be overridden in derived classes.
Public methodSupported by Silverlight for Windows Phone TryGetBase64ContentLength Not implemented in this class (it always returns false). May be overridden in derived classes.
Public methodSupported by Silverlight for Windows Phone TryGetLocalNameAsDictionaryString Not implemented in this class (it always returns false). May be overridden in derived classes.
Public methodSupported by Silverlight for Windows Phone TryGetNamespaceUriAsDictionaryString Not implemented in this class (it always returns false). May be overridden in derived classes.
Public methodSupported by Silverlight for Windows Phone TryGetValueAsDictionaryString Not implemented in this class (it always returns false). May be overridden in derived classes.

Top

Remarks

This class is derived from XmlReader, which is used by Silverlight 5 to do serialization and deserialization.

NoteNote:

There is a known issue with the normalization of linefeed characters inside of CDATA and Text sections that you might encounter.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference