XmlReader.ReadStartElement Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Checks that the current node is an element and advances the reader to the next node.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

NameDescription
System_CAPS_pubmethodReadStartElement()

Checks that the current node is an element and advances the reader to the next node.

System_CAPS_pubmethodReadStartElement(String)

Checks that the current content node is an element with the given Name and advances the reader to the next node.

System_CAPS_pubmethodReadStartElement(String, String)

Checks that the current content node is an element with the given LocalName and NamespaceURI and advances the reader to the next node.

Exception Condition
InvalidOperationException

An XmlReader method was called before a previous asynchronous operation finished. In this case, InvalidOperationException is thrown with the message “An asynchronous operation is already in progress.”

Return to top
Show: