Export (0) Print
Expand All

XmlReader Methods

The XmlReader type exposes the following members.

  Name Description
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Close When overridden in a derived class, changes the ReadState to Closed.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Create(Stream) Creates a new XmlReader instance using the specified stream.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Create(String) Creates a new XmlReader instance with specified URI.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Create(TextReader) Creates a new XmlReader instance with the specified TextReader.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Create(Stream, XmlReaderSettings) Creates a new XmlReader instance with the specified stream and XmlReaderSettings object.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Create(String, XmlReaderSettings) Creates a new instance with the specified URI and XmlReaderSettings.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Create(TextReader, XmlReaderSettings) Creates a new XmlReader instance using the specified TextReader and XmlReaderSettings objects.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Create(XmlReader, XmlReaderSettings) Creates a new XmlReader instance with the specified XmlReader and XmlReaderSettings objects.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Create(Stream, XmlReaderSettings, String) Creates a new XmlReader instance using the specified stream, base URI, and XmlReaderSettings object.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Create(Stream, XmlReaderSettings, XmlParserContext) Creates a new XmlReader instance using the specified stream, XmlReaderSettings, and XmlParserContext objects.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Create(String, XmlReaderSettings, XmlParserContext) Creates a new XmlReader instance using the specified URI, XmlReaderSettings, and XmlParserContext objects.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Create(TextReader, XmlReaderSettings, String) Creates a new XmlReader instance using the specified TextReader, XmlReaderSettings, and base URI.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Create(TextReader, XmlReaderSettings, XmlParserContext) Creates a new XmlReader instance using the specified TextReader, XmlReaderSettings, and XmlParserContext objects.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Dispose()
Protected method Supported by Silverlight for Windows Phone Supported by Xbox 360 Dispose(Boolean) Releases the unmanaged resources used by the XmlReader and optionally releases the managed resources.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by Silverlight for Windows Phone Supported by Xbox 360 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 method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetAttribute(Int32) When overridden in a derived class, gets the value of the attribute with the specified index.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetAttribute(String) When overridden in a derived class, gets the value of the attribute with the specified Name.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetAttribute(String, String) When overridden in a derived class, gets the value of the attribute with the specified LocalName and NamespaceURI.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsName Gets a value indicating whether the string argument is a valid XML name.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsNameToken Gets a value indicating whether or not the string argument is a valid XML name token.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 IsStartElement() Calls MoveToContent and tests if the current content node is a start tag or empty element tag.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 LookupNamespace When overridden in a derived class, resolves a namespace prefix in the current element's scope.
Protected method Supported by Silverlight for Windows Phone Supported by Xbox 360 MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 MoveToAttribute(Int32) When overridden in a derived class, moves to the attribute with the specified index.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 MoveToAttribute(String) When overridden in a derived class, moves to the attribute with the specified Name.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 MoveToAttribute(String, String) When overridden in a derived class, moves to the attribute with the specified LocalName and NamespaceURI.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 MoveToElement When overridden in a derived class, moves to the element that contains the current attribute node.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 MoveToFirstAttribute When overridden in a derived class, moves to the first attribute.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 MoveToNextAttribute When overridden in a derived class, moves to the next attribute.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Read When overridden in a derived class, reads the next node from the stream.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadAttributeValue When overridden in a derived class, parses the attribute value into one or more Text, EntityReference, or EndEntity nodes.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadContentAs Reads the content as an object of the type specified.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadContentAsBase64 Reads the content and returns the Base64 decoded binary bytes.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadContentAsBinHex Reads the content and returns the BinHex decoded binary bytes.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadContentAsBoolean Reads the text content at the current position as a Boolean.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadContentAsDateTime Reads the text content at the current position as a DateTime object.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadContentAsDecimal Reads the text content at the current position as a Decimal object.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadContentAsDouble Reads the text content at the current position as a double-precision floating-point number.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadContentAsFloat Reads the text content at the current position as a single-precision floating point number.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadContentAsInt Reads the text content at the current position as a 32-bit signed integer.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadContentAsLong Reads the text content at the current position as a 64-bit signed integer.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadContentAsObject Reads the text content at the current position as an Object.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadContentAsString Reads the text content at the current position as a String object.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadElementContentAs(Type, IXmlNamespaceResolver) Reads the element content as the requested type.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadElementContentAsBase64 Reads the element and decodes the Base64 content.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadElementContentAsBinHex Reads the element and decodes the BinHex content.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadElementContentAsBoolean() Reads the current element and returns the contents as a Boolean object.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadElementContentAsDateTime() Reads the current element and returns the contents as a DateTime object.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadElementContentAsDecimal() Reads the current element and returns the contents as a Decimal object.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadElementContentAsDouble() Reads the current element and returns the contents as a double-precision floating-point number.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadElementContentAsFloat() Reads the current element and returns the contents as single-precision floating-point number.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadElementContentAsInt() Reads the current element and returns the contents as a 32-bit signed integer.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadElementContentAsLong() Reads the current element and returns the contents as a 64-bit signed integer.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadElementContentAsObject() Reads the current element and returns the contents as an Object.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadElementContentAsString() Reads the current element and returns the contents as a String object.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadEndElement Checks that the current content node is an end tag and advances the reader to the next node.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadInnerXml When overridden in a derived class, reads all the content, including markup, as a string.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadOuterXml When overridden in a derived class, reads the content, including markup, representing this node and all its children.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadStartElement() Checks that the current node is an element and advances the reader to the next node.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadStartElement(String) Checks that the current content node is an element with the given Name and advances the reader to the next node.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadSubtree Returns a new XmlReader instance that can be used to read the current node, and all its descendants.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadToDescendant(String) Advances the XmlReader to the next descendant element with the specified qualified name.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadToDescendant(String, String) Advances the XmlReader to the next descendant element with the specified local name and namespace URI.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadToFollowing(String) Reads until an element with the specified qualified name is found.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadToFollowing(String, String) Reads until an element with the specified local name and namespace URI is found.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadToNextSibling(String) Advances the XmlReader to the next sibling element with the specified qualified name.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadToNextSibling(String, String) Advances the XmlReader to the next sibling element with the specified local name and namespace URI.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ReadValueChunk Reads large streams of text embedded in an XML document.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ResolveEntity When overridden in a derived class, resolves the entity reference for EntityReference nodes.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Skip Skips the children of the current node.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft