XmlReader Members
Public Properties
AttributeCount Supported by the .NET Compact Framework. | When overridden in a derived class, gets the number of attributes on the current node. |
BaseURI Supported by the .NET Compact Framework. | When overridden in a derived class, gets the base URI of the current node. |
CanResolveEntity Supported by the .NET Compact Framework. | Gets a value indicating whether this reader can parse and resolve entities. |
Depth Supported by the .NET Compact Framework. | When overridden in a derived class, gets the depth of the current node in the XML document. |
EOF Supported by the .NET Compact Framework. | When overridden in a derived class, gets a value indicating whether the reader is positioned at the end of the stream. |
HasAttributes Supported by the .NET Compact Framework. | Gets a value indicating whether the current node has any attributes. |
HasValue Supported by the .NET Compact Framework. | When overridden in a derived class, gets a value indicating whether the current node can have a Value. |
IsDefault Supported by the .NET Compact Framework. | When overridden in a derived class, gets a value indicating whether the current node is an attribute that was generated from the default value defined in the DTD or schema. |
IsEmptyElement Supported by the .NET Compact Framework. | When overridden in a derived class, gets a value indicating whether the current node is an empty element (for example, <MyElement/>). |
Item | Overloaded. When overridden in a derived class, gets the value of the attribute.
In C#, this property is the indexer for the XmlReader class. |
LocalName Supported by the .NET Compact Framework. | When overridden in a derived class, gets the local name of the current node. |
Name Supported by the .NET Compact Framework. | When overridden in a derived class, gets the qualified name of the current node. |
NamespaceURI Supported by the .NET Compact Framework. | When overridden in a derived class, gets the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned. |
NameTable Supported by the .NET Compact Framework. | When overridden in a derived class, gets the XmlNameTable associated with this implementation. |
NodeType Supported by the .NET Compact Framework. | When overridden in a derived class, gets the type of the current node. |
Prefix Supported by the .NET Compact Framework. | When overridden in a derived class, gets the namespace prefix associated with the current node. |
QuoteChar Supported by the .NET Compact Framework. | When overridden in a derived class, gets the quotation mark character used to enclose the value of an attribute node. |
ReadState Supported by the .NET Compact Framework. | When overridden in a derived class, gets the state of the reader. |
Value Supported by the .NET Compact Framework. | When overridden in a derived class, gets the text value of the current node. |
XmlLang Supported by the .NET Compact Framework. | When overridden in a derived class, gets the current xml:lang scope. |
XmlSpace Supported by the .NET Compact Framework. | When overridden in a derived class, gets the current xml:space scope. |
Public Methods
Close Supported by the .NET Compact Framework. | When overridden in a derived class, changes the ReadState to Closed. |
Equals (inherited from Object)
Supported by the .NET Compact Framework. | Overloaded. Determines whether two Object instances are equal. |
GetAttribute Supported by the .NET Compact Framework. | Overloaded. When overridden in a derived class, gets the value of an attribute. |
GetHashCode (inherited from Object)
Supported by the .NET Compact Framework. | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object)
Supported by the .NET Compact Framework. | Gets the Type of the current instance. |
![]() IsName Supported by the .NET Compact Framework. | Gets a value indicating whether the string argument is a valid XML name. |
![]() IsNameToken Supported by the .NET Compact Framework. | Gets a value indicating whether or not the string argument is a valid XML name token. |
IsStartElement Supported by the .NET Compact Framework. | Overloaded. Tests if the current content node is a start tag. |
LookupNamespace Supported by the .NET Compact Framework. | When overridden in a derived class, resolves a namespace prefix in the current element's scope. |
MoveToAttribute Supported by the .NET Compact Framework. | Overloaded. When overridden in a derived class, moves to the specified attribute. |
MoveToContent Supported by the .NET Compact Framework. | 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. |
MoveToElement Supported by the .NET Compact Framework. | When overridden in a derived class, moves to the element that contains the current attribute node. |
MoveToFirstAttribute Supported by the .NET Compact Framework. | When overridden in a derived class, moves to the first attribute. |
MoveToNextAttribute Supported by the .NET Compact Framework. | When overridden in a derived class, moves to the next attribute. |
Read Supported by the .NET Compact Framework. | When overridden in a derived class, reads the next node from the stream. |
ReadAttributeValue Supported by the .NET Compact Framework. | When overridden in a derived class, parses the attribute value into one or more Text, EntityReference, or EndEntity nodes. |
ReadElementString Supported by the .NET Compact Framework. | Overloaded. This is a helper method for reading simple text-only elements. |
ReadEndElement Supported by the .NET Compact Framework. | Checks that the current content node is an end tag and advances the reader to the next node. |
ReadInnerXml Supported by the .NET Compact Framework. | When overridden in a derived class, reads all the content, including markup, as a string. |
ReadOuterXml Supported by the .NET Compact Framework. | When overridden in a derived class, reads the content, including markup, representing this node and all its children. |
ReadStartElement Supported by the .NET Compact Framework. | Overloaded. Checks that the current node is an element and advances the reader to the next node. |
ReadString Supported by the .NET Compact Framework. | When overridden in a derived class, reads the contents of an element or text node as a string. |
ResolveEntity Supported by the .NET Compact Framework. | When overridden in a derived class, resolves the entity reference for EntityReference nodes. |
Skip Supported by the .NET Compact Framework. | Skips the children of the current node. |
ToString (inherited from Object)
Supported by the .NET Compact Framework. | Returns a String that represents the current Object. |
Protected Constructors
XmlReader Constructor Supported by the .NET Compact Framework. | Initializes a new instance of the XmlReader class. |
Protected Methods
Finalize (inherited from Object)
Supported by the .NET Compact Framework. | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. | Creates a shallow copy of the current Object. |
