The properties of System.Xml.XmlTextReader are listed below. For a list of all members, see the XmlTextReader Members list.
See Also: Inherited members from System.Xml.XmlReader
[read-only] override | AttributeCount | int.
Gets the number of attributes on the current node. |
[read-only] override | BaseURI | string.
Gets the base URI of the current node. |
[read-only] override | CanReadBinaryContent | bool.
Gets a value indicating whether the System.Xml.XmlTextReader implements the binary content read methods. |
[read-only] override | CanReadValueChunk | bool.
Gets a value indicating whether the System.Xml.XmlTextReader implements the XmlReader.ReadValueChunk(Char[], int, int) method. |
[read-only] override | CanResolveEntity | bool.
Gets a value indicating whether this reader can parse and resolve entities. |
[read-only] override | Depth | int.
Gets the depth of the current node in the XML document. |
[read-only] | Encoding | System.Text.Encoding.
Gets the encoding of the document. |
EntityHandling | EntityHandling.
Gets or sets a value that specifies how the reader handles entities. | |
[read-only] override | EOF | bool.
Gets a value indicating whether the reader is positioned at the end of the stream. |
[read-only] override | HasValue | bool.
Gets a value indicating whether the current node can have a XmlTextReader.Value other than String.Empty. |
[read-only] override | IsDefault | bool.
Gets a value indicating whether the current node is an attribute that was generated from the default value defined in the DTD or schema. |
[read-only] override | IsEmptyElement | bool.
Gets a value indicating whether the current node is an empty element (for example, <MyElement/>). |
[read-only] default property | Item(int) | string. Retrieves the value of the attribute with the specified index relative to the containing element. |
[read-only] default property | Item(string) | string. Retrieves the value of the attribute with the specified qualified name. |
[read-only] default property | Item(string, string) | string. Retrieves the value of the attribute with the specified local name and namespace URI. |
[read-only] | LineNumber | int.
Gets the current line number. |
[read-only] | LinePosition | int.
Gets the current line position. |
[read-only] override | LocalName | string.
Gets the local name of the current node. |
[read-only] override | Name | string.
Gets the qualified name of the current node. |
Namespaces | bool.
Gets or sets a value indicating whether to do namespace support. | |
[read-only] override | NamespaceURI | string.
Gets the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned. |
[read-only] override | NameTable | XmlNameTable.
Gets the System.Xml.XmlNameTable associated with this implementation. |
[read-only] override | NodeType | XmlNodeType.
Gets the type of the current node. |
Normalization | bool.
Gets or sets a value indicating whether to normalize white space and attribute values. | |
[read-only] override | Prefix | string.
Gets the namespace prefix associated with the current node. |
ProhibitDtd | bool.
Gets or sets a value indicating whether to allow DTD processing. This property is obsolete. Use XmlTextReader.DtdProcessing instead. | |
[read-only] override | QuoteChar | char.
Gets the quotation mark character used to enclose the value of an attribute node. |
[read-only] override | ReadState | ReadState.
Gets the state of the reader. |
[read-only] override | Settings | XmlReaderSettings.
Gets the System.Xml.XmlReaderSettings object used to create this System.Xml.XmlTextReader instance. |
[read-only] override | Value | string.
Gets the text value of the current node. |
WhitespaceHandling | WhitespaceHandling.
Gets or sets a value that specifies how white space is handled. | |
[read-only] override | XmlLang | string.
Gets the current xml:lang scope. |
[write-only] | XmlResolver | XmlResolver.
Sets the System.Xml.XmlResolver used for resolving DTD references. |
[read-only] override | XmlSpace | XmlSpace.
Gets the current xml:space scope. |