XmlTextReader Members
The following tables list the members exposed by the XmlTextReader type.
Public Constructors
Name | Description | |
---|---|---|
XmlTextReader | Overloaded. Initializes a new instance of the XmlTextReader. |
Public Properties
Name | Description | |
---|---|---|
AttributeCount | Gets the number of attributes on the current node. | |
BaseURI | Gets the BaseURI of the current node. | |
CanReadBinaryContent | Gets a value indicating whether the XmlTextReader implements the binary content read methods. | |
CanReadValueChunk | Gets a value indicating whether the XmlTextReader implements the ReadValueChunk method. | |
CanResolveEntity | Gets a value indicating whether this reader can parse and resolve entities. | |
Depth | Gets the depth of the current node in the XML document. | |
EOF | Gets a value indicating whether the reader is positioned at the end of the stream. | |
HasValue | Gets a value indicating whether the current node can have a Value other than String.Empty. | |
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. | |
IsEmptyElement | Gets a value indicating whether the current node is an empty element. | |
LineNumber | Gets the current line number. | |
LinePosition | Gets the current line position. | |
LocalName | Gets the LocalName of the current node. | |
Name | Gets the qualified name of the current node. | |
NamespaceURI | Gets the NamespaceURI (as defined in the W3C Namespace specification) of the node on which the reader is positioned. | |
NameTable | Gets the XmlNameTable associated with this implementation. | |
NodeType | Gets the type of the current node. | |
Prefix | Gets the namespace prefix associated with the current node. | |
QuoteChar | Gets the quotation mark character used to enclose the value of an attribute node. | |
ReadState | Gets the state of the reader. | |
Settings | Gets the XmlReaderSettings object used to create this XmlTextReader instance. | |
Value | Gets the text value of the current node. | |
XmlLang | Gets the current xml:lang scope. | |
XmlSpace | Gets the current xml:space scope. |
Public Methods
Name | Description | |
---|---|---|
Close | Changes the ReadState to Closed. | |
GetAttribute | Overloaded. Gets the value of an attribute. | |
HasLineInfo | Gets a value indicating whether the class can return line information. | |
LookupNamespace | Resolves a namespace prefix in the current element's scope. | |
MoveToAttribute | Overloaded. Overloaded. Overridden. Moves to the specified attribute. | |
MoveToElement | Moves to the element that contains the current attribute node. | |
MoveToFirstAttribute | Moves to the first attribute. | |
MoveToNextAttribute | Moves to the next attribute. | |
Read | Reads the next node from the stream. | |
ReadAttributeValue | Parses the attribute value into one or more Text, EntityReference, or EndEntity nodes. | |
ReadValueChunk | Reads large streams of text embedded in an XML document. | |
ResolveEntity | Resolves the entity reference for EntityReference nodes. | |
Skip | Skips the children of the current node. |