Export (0) Print
Expand All

XmlTextReader Methods

The XmlTextReader type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Close Changes the ReadState to Closed. (Overrides XmlReader.Close().)
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. (Inherited from XmlReader.)
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. 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 GetNamespacesInScope Gets a collection that contains all namespaces currently in-scope.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetRemainder Gets the remainder of the buffered XML.
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 Supported by the .NET Compact Framework Supported by the XNA Framework HasLineInfo Gets a value indicating whether the class can return line information.
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 Resolves a namespace prefix in the current element's scope. (Overrides XmlReader.LookupNamespace(String).)
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. 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. (Inherited from XmlReader.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework MoveToElement Moves to the element that contains the current attribute node. (Overrides XmlReader.MoveToElement().)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework MoveToFirstAttribute Moves to the first attribute. (Overrides XmlReader.MoveToFirstAttribute().)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework MoveToNextAttribute Moves to the next attribute. (Overrides XmlReader.MoveToNextAttribute().)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Read Reads the next node from the stream. (Overrides XmlReader.Read().)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ReadAttributeValue Parses the attribute value into one or more Text, EntityReference, or EndEntity nodes. (Overrides XmlReader.ReadAttributeValue().)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ReadBase64 Decodes Base64 and returns the decoded binary bytes.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ReadBinHex Decodes BinHex and returns the decoded binary bytes.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ReadChars Reads the text contents of an element into a character buffer. This method is designed to read large streams of embedded text by calling it successively.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ReadContentAs Reads the content as an object of the type specified. (Inherited from XmlReader.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ReadContentAsBase64 Reads the content and returns the Base64 decoded binary bytes. (Overrides XmlReader.ReadContentAsBase64(Byte[], Int32, Int32).)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ReadContentAsBinHex Reads the content and returns the BinHex decoded binary bytes. (Overrides XmlReader.ReadContentAsBinHex(Byte[], Int32, Int32).)
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. (Inherited from XmlReader.)
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. (Inherited from XmlReader.)
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. (Inherited from XmlReader.)
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. (Inherited from XmlReader.)
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. (Inherited from XmlReader.)
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. (Inherited from XmlReader.)
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. (Inherited from XmlReader.)
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. (Inherited from XmlReader.)
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. (Inherited from XmlReader.)
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. (Overrides XmlReader.ReadElementContentAsBase64(Byte[], Int32, Int32).)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ReadElementContentAsBinHex Reads the element and decodes the BinHex content. (Overrides XmlReader.ReadElementContentAsBinHex(Byte[], Int32, Int32).)
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. (Inherited from XmlReader.)
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. (Inherited from XmlReader.)
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. (Inherited from XmlReader.)
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 Reads the contents of an element or a text node as a string. (Overrides XmlReader.ReadString().)
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. (Inherited from XmlReader.)
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. (Inherited from XmlReader.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ResetState Resets the state of the reader to ReadState.Initial.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ResolveEntity Resolves the entity reference for EntityReference nodes. (Overrides XmlReader.ResolveEntity().)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Skip Skips the children of the current node. (Overrides XmlReader.Skip().)
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. (Inherited from XmlReader.)
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IXmlNamespaceResolver.GetNamespacesInScope For a description of this member, see IXmlNamespaceResolver.GetNamespacesInScope.
Explicit interface implemetation Private method Supported by the .NET Compact Framework IXmlLineInfo.HasLineInfo For a description of this member, see IXmlLineInfo.HasLineInfo.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IXmlNamespaceResolver.LookupNamespace For a description of this member, see IXmlNamespaceResolver.LookupNamespace.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IXmlNamespaceResolver.LookupPrefix For a description of this member, see IXmlNamespaceResolver.LookupPrefix.
Top

Community Additions

ADD
Show:
© 2014 Microsoft