XmlReader.IsStartElement Method

 

Tests if the current content node is a start tag.

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

NameDescription
System_CAPS_pubmethodIsStartElement()

Calls MoveToContent and tests if the current content node is a start tag or empty element tag.

System_CAPS_pubmethodIsStartElement(String)

Calls MoveToContent and tests if the current content node is a start tag or empty element tag and if the Name property of the element found matches the given argument.

System_CAPS_pubmethodIsStartElement(String, String)

Calls MoveToContent and tests if the current content node is a start tag or empty element tag and if the LocalName and NamespaceURI properties of the element found match the given strings.

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: