XmlTextReader Properties
.NET Framework 4
The XmlTextReader type exposes the following members.
| Name | Description | |
|---|---|---|
|
AttributeCount | Gets the number of attributes on the current node. (Overrides XmlReader.AttributeCount.) |
|
BaseURI | Gets the base URI of the current node. (Overrides XmlReader.BaseURI.) |
|
CanReadBinaryContent | Gets a value indicating whether the XmlTextReader implements the binary content read methods. (Overrides XmlReader.CanReadBinaryContent.) |
|
CanReadValueChunk | Gets a value indicating whether the XmlTextReader implements the ReadValueChunk method. (Overrides XmlReader.CanReadValueChunk.) |
|
CanResolveEntity | Gets a value indicating whether this reader can parse and resolve entities. (Overrides XmlReader.CanResolveEntity.) |
|
Depth | Gets the depth of the current node in the XML document. (Overrides XmlReader.Depth.) |
|
DtdProcessing | Gets or sets the DtdProcessing enumeration. |
|
Encoding | Gets the encoding of the document. |
|
EntityHandling | Gets or sets a value that specifies how the reader handles entities. |
|
EOF | Gets a value indicating whether the reader is positioned at the end of the stream. (Overrides XmlReader.EOF.) |
|
HasAttributes | Gets a value indicating whether the current node has any attributes. (Inherited from XmlReader.) |
|
HasValue | Gets a value indicating whether the current node can have a Value other than String.Empty. (Overrides XmlReader.HasValue.) |
|
IsDefault | Gets a value indicating whether the current node is an attribute that was generated from the default value defined in the DTD or schema. (Overrides XmlReader.IsDefault.) |
|
IsEmptyElement | Gets a value indicating whether the current node is an empty element (for example, <MyElement/>). (Overrides XmlReader.IsEmptyElement.) |
|
Item[Int32] | When overridden in a derived class, gets the value of the attribute with the specified index. (Inherited from XmlReader.) |
|
Item[String] | When overridden in a derived class, gets the value of the attribute with the specified Name. (Inherited from XmlReader.) |
|
Item[String, String] | When overridden in a derived class, gets the value of the attribute with the specified LocalName and NamespaceURI. (Inherited from XmlReader.) |
|
LineNumber | Gets the current line number. |
|
LinePosition | Gets the current line position. |
|
LocalName | Gets the local name of the current node. (Overrides XmlReader.LocalName.) |
|
Name | Gets the qualified name of the current node. (Overrides XmlReader.Name.) |
|
Namespaces | Gets or sets a value indicating whether to do namespace support. |
|
NamespaceURI | Gets the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned. (Overrides XmlReader.NamespaceURI.) |
|
NameTable | Gets the XmlNameTable associated with this implementation. (Overrides XmlReader.NameTable.) |
|
NodeType | Gets the type of the current node. (Overrides XmlReader.NodeType.) |
|
Normalization | Gets or sets a value indicating whether to normalize white space and attribute values. |
|
Prefix | Gets the namespace prefix associated with the current node. (Overrides XmlReader.Prefix.) |
|
ProhibitDtd | Obsolete. Gets or sets a value indicating whether to allow DTD processing. This property is obsolete. Use DtdProcessing instead. |
|
QuoteChar | Gets the quotation mark character used to enclose the value of an attribute node. (Overrides XmlReader.QuoteChar.) |
|
ReadState | Gets the state of the reader. (Overrides XmlReader.ReadState.) |
|
SchemaInfo | Gets the schema information that has been assigned to the current node as a result of schema validation. (Inherited from XmlReader.) |
|
Settings |
Gets the XmlReaderSettings object used to create this XmlReader instance. (Inherited from XmlReader.) In XNA Framework, this member is overridden by Settings. |
|
Value | Gets the text value of the current node. (Overrides XmlReader.Value.) |
|
ValueType | Gets The Common Language Runtime (CLR) type for the current node. (Inherited from XmlReader.) |
|
WhitespaceHandling | Gets or sets a value that specifies how white space is handled. |
|
XmlLang | Gets the current xml:lang scope. (Overrides XmlReader.XmlLang.) |
|
XmlResolver | Sets the XmlResolver used for resolving DTD references. |
|
XmlSpace | Gets the current xml:space scope. (Overrides XmlReader.XmlSpace.) |