Want to become a Vibe Coder? Join Vibe Coding Training here
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Methods of XmlTextReader class
WhatsApp
Sapna
14y
9.8
k
0
0
25
Blog
The XmlTextReader class is a derived of the XmlReader class. The XmlTextReader class reads the document but does not allow you to access or validate the schema information.
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.
Methods of XmlTextReader class
People also reading
Membership not found