XmlReader::IsStartElement Method
Tests if the current content node is a start tag.
Assembly: System.Xml (in System.Xml.dll)
| Name | Description | |
|---|---|---|
![]() | IsStartElement() | Calls MoveToContent and tests if the current content node is a start tag or empty element tag. |
![]() | IsStartElement(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. |
![]() | IsStartElement(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.” |
