XmlReader Methods

The XmlReader type exposes the following members.

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

  NameDescription
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IDisposable.Dispose For a description of this member, see IDisposable.Dispose.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft