XmlReader Properties
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The XmlReader type exposes the following members.
| Name | Description | |
|---|---|---|
|
AttributeCount | When overridden in a derived class, gets the number of attributes on the current node. |
|
BaseURI | When overridden in a derived class, gets the base URI of the current node. |
|
CanReadBinaryContent | Gets a value indicating whether the XmlReader implements the binary content read methods. |
|
CanReadValueChunk | Gets a value indicating whether the XmlReader implements the ReadValueChunk method. |
|
CanResolveEntity | Gets a value indicating whether this reader can parse and resolve entities. |
|
Depth | When overridden in a derived class, gets the depth of the current node in the XML document. |
|
EOF | When overridden in a derived class, gets a value indicating whether the reader is positioned at the end of the stream. |
|
HasAttributes | Gets a value indicating whether the current node has any attributes. |
|
HasValue | When overridden in a derived class, gets a value indicating whether the current node can have a Value. |
|
IsDefault | 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. |
|
IsEmptyElement | When overridden in a derived class, gets a value indicating whether the current node is an empty element (for example, <MyElement/>). |
|
Item[Int32] | When overridden in a derived class, gets the value of the attribute with the specified index. |
|
Item[String] | When overridden in a derived class, gets the value of the attribute with the specified Name. |
|
Item[String, String] | When overridden in a derived class, gets the value of the attribute with the specified LocalName and NamespaceURI. |
|
LocalName | When overridden in a derived class, gets the local name of the current node. |
|
Name | When overridden in a derived class, gets the qualified name of the current node. |
|
NamespaceURI | 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 | When overridden in a derived class, gets the XmlNameTable associated with this implementation. |
|
NodeType | When overridden in a derived class, gets the type of the current node. |
|
Prefix | When overridden in a derived class, gets the namespace prefix associated with the current node. |
|
ReadState | When overridden in a derived class, gets the state of the reader. |
|
Settings | Gets the XmlReaderSettings object used to create this XmlReader instance. |
|
Value | When overridden in a derived class, gets the text value of the current node. |
|
ValueType | Gets the common language runtime (CLR) type for the current node. |
|
XmlLang | When overridden in a derived class, gets the current xml:lang scope. |
|
XmlSpace | When overridden in a derived class, gets the current xml:space scope. |
Show: