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