The following table describes the methods of the XmlTextReader class:
| Method | Description |
| IsStartElement( ) | Verifies if the element is the start element. |
| MoveToElement( ) | Moves to the element that consists of the current attribute node. |
| MoveToFirstAttribute( ) | Moves to the first attribute. |
| MoveToNextAttribute( ) | Moves to the next attribute. |
| Read( ) | Reads the very next node from the stream. |
| ReadAttributeValue( ) | Reads the value of the attribute and parses it into one or more nodes. |
| ReadString( ) | Reads the content of an element or text node in a string. |
| ReadStartElement( ) | Verifies if the current node is an element and moves the reader to the next node. |
| ReadEndElement( ) | Verifies if the current node is an end tag and moves the reader to the next node. |
| Skip( ) | Skips the child nodes of the current node. |
Join the conversation! Your thoughts help the community grow.