Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

XmlNodeReader Methods

The XmlNodeReader type exposes the following members.

  NameDescription
Public method Close Changes the ReadState to Closed. (Overrides XmlReader.Close().)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the XmlReader and optionally releases the managed resources. (Inherited from XmlReader.)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetAttribute(Int32) Gets the value of the attribute with the specified index. (Overrides XmlReader.GetAttribute(Int32).)
Public method GetAttribute(String) Gets the value of the attribute with the specified name. (Overrides XmlReader.GetAttribute(String).)
Public method GetAttribute(String, String) Gets the value of the attribute with the specified local name and namespace URI. (Overrides XmlReader.GetAttribute(String, String).)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsStartElement() Calls MoveToContent and tests if the current content node is a start tag or empty element tag. (Inherited from XmlReader.)
Public method 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 method 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 method LookupNamespace Resolves a namespace prefix in the current element's scope. (Overrides XmlReader.LookupNamespace(String).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method MoveToAttribute(Int32) Moves to the attribute with the specified index. (Overrides XmlReader.MoveToAttribute(Int32).)
Public method MoveToAttribute(String) Moves to the attribute with the specified name. (Overrides XmlReader.MoveToAttribute(String).)
Public method MoveToAttribute(String, String) Moves to the attribute with the specified local name and namespace URI. (Overrides XmlReader.MoveToAttribute(String, String).)
Public method 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 method MoveToElement Moves to the element that contains the current attribute node. (Overrides XmlReader.MoveToElement().)
Public method MoveToFirstAttribute Moves to the first attribute. (Overrides XmlReader.MoveToFirstAttribute().)
Public method MoveToNextAttribute Moves to the next attribute. (Overrides XmlReader.MoveToNextAttribute().)
Public method Read Reads the next node from the stream. (Overrides XmlReader.Read().)
Public method ReadAttributeValue Parses the attribute value into one or more Text, EntityReference, or EndEntity nodes. (Overrides XmlReader.ReadAttributeValue().)
Public method ReadContentAs Reads the content as an object of the type specified. (Inherited from XmlReader.)
Public method ReadContentAsBase64 Reads the content and returns the Base64 decoded binary bytes. (Overrides XmlReader.ReadContentAsBase64(Byte[], Int32, Int32).)
Public method ReadContentAsBinHex Reads the content and returns the BinHex decoded binary bytes. (Overrides XmlReader.ReadContentAsBinHex(Byte[], Int32, Int32).)
Public method ReadContentAsBoolean Reads the text content at the current position as a Boolean. (Inherited from XmlReader.)
Public method ReadContentAsDateTime Reads the text content at the current position as a DateTime object. (Inherited from XmlReader.)
Public method ReadContentAsDecimal Reads the text content at the current position as a Decimal object. (Inherited from XmlReader.)
Public method ReadContentAsDouble Reads the text content at the current position as a double-precision floating-point number. (Inherited from XmlReader.)
Public method ReadContentAsFloat Reads the text content at the current position as a single-precision floating point number. (Inherited from XmlReader.)
Public method ReadContentAsInt Reads the text content at the current position as a 32-bit signed integer. (Inherited from XmlReader.)
Public method ReadContentAsLong Reads the text content at the current position as a 64-bit signed integer. (Inherited from XmlReader.)
Public method ReadContentAsObject Reads the text content at the current position as an Object. (Inherited from XmlReader.)
Public method ReadContentAsString Reads the text content at the current position as a String object. (Inherited from XmlReader.)
Public method ReadElementContentAs(Type, IXmlNamespaceResolver) Reads the element content as the requested type. (Inherited from XmlReader.)
Public method 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 method ReadElementContentAsBase64 Reads the element and decodes the Base64 content. (Overrides XmlReader.ReadElementContentAsBase64(Byte[], Int32, Int32).)
Public method ReadElementContentAsBinHex Reads the element and decodes the BinHex content. (Overrides XmlReader.ReadElementContentAsBinHex(Byte[], Int32, Int32).)
Public method ReadElementContentAsBoolean() Reads the current element and returns the contents as a Boolean object. (Inherited from XmlReader.)
Public method 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 method ReadElementContentAsDateTime() Reads the current element and returns the contents as a DateTime object. (Inherited from XmlReader.)
Public method 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 method ReadElementContentAsDecimal() Reads the current element and returns the contents as a Decimal object. (Inherited from XmlReader.)
Public method 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 method ReadElementContentAsDouble() Reads the current element and returns the contents as a double-precision floating-point number. (Inherited from XmlReader.)
Public method 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 method ReadElementContentAsFloat() Reads the current element and returns the contents as single-precision floating-point number. (Inherited from XmlReader.)
Public method 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 method ReadElementContentAsInt() Reads the current element and returns the contents as a 32-bit signed integer. (Inherited from XmlReader.)
Public method 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 method ReadElementContentAsLong() Reads the current element and returns the contents as a 64-bit signed integer. (Inherited from XmlReader.)
Public method 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 method ReadElementContentAsObject() Reads the current element and returns the contents as an Object. (Inherited from XmlReader.)
Public method 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 method ReadElementContentAsString() Reads the current element and returns the contents as a String object. (Inherited from XmlReader.)
Public method 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 method ReadElementString() Reads a text-only element. (Inherited from XmlReader.)
Public method ReadElementString(String) Checks that the Name property of the element found matches the given string before reading a text-only element. (Inherited from XmlReader.)
Public method ReadElementString(String, String) Checks that the LocalName and NamespaceURI properties of the element found matches the given strings before reading a text-only element. (Inherited from XmlReader.)
Public method ReadEndElement Checks that the current content node is an end tag and advances the reader to the next node. (Inherited from XmlReader.)
Public method ReadInnerXml When overridden in a derived class, reads all the content, including markup, as a string. (Inherited from XmlReader.)
Public method ReadOuterXml When overridden in a derived class, reads the content, including markup, representing this node and all its children. (Inherited from XmlReader.)
Public method ReadStartElement() Checks that the current node is an element and advances the reader to the next node. (Inherited from XmlReader.)
Public method 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 method 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 method ReadString Reads the contents of an element or text node as a string. (Overrides XmlReader.ReadString().)
Public method ReadSubtree Returns a new XmlReader instance that can be used to read the current node, and all its descendants. (Inherited from XmlReader.)
Public method ReadToDescendant(String) Advances the XmlReader to the next descendant element with the specified qualified name. (Inherited from XmlReader.)
Public method ReadToDescendant(String, String) Advances the XmlReader to the next descendant element with the specified local name and namespace URI. (Inherited from XmlReader.)
Public method ReadToFollowing(String) Reads until an element with the specified qualified name is found. (Inherited from XmlReader.)
Public method ReadToFollowing(String, String) Reads until an element with the specified local name and namespace URI is found. (Inherited from XmlReader.)
Public method ReadToNextSibling(String) Advances the XmlReader to the next sibling element with the specified qualified name. (Inherited from XmlReader.)
Public method ReadToNextSibling(String, String) Advances the XmlReader to the next sibling element with the specified local name and namespace URI. (Inherited from XmlReader.)
Public method ReadValueChunk Reads large streams of text embedded in an XML document. (Inherited from XmlReader.)
Public method ResolveEntity Resolves the entity reference for EntityReference nodes. (Overrides XmlReader.ResolveEntity().)
Public method Skip Skips the children of the current node. (Overrides XmlReader.Skip().)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
  NameDescription
Explicit interface implemetation Private method IDisposable.Dispose For a description of this member, see IDisposable.Dispose. (Inherited from XmlReader.)
Explicit interface implemetation Private method IXmlNamespaceResolver.GetNamespacesInScope Infrastructure. For a description of this member, see GetNamespacesInScope.
Explicit interface implemetation Private method IXmlNamespaceResolver.LookupNamespace Infrastructure. For a description of this member, see LookupNamespace.
Explicit interface implemetation Private method IXmlNamespaceResolver.LookupPrefix Infrastructure. For a description of this member, see IXmlNamespaceResolver.LookupPrefix.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.