XmlReader::ReadStartElement Method
.NET Framework (current version)
Checks that the current node is an element and advances the reader to the next node.
Assembly: System.Xml (in System.Xml.dll)
| Name | Description | |
|---|---|---|
![]() | ReadStartElement() | Checks that the current node is an element and advances the reader to the next node. |
![]() | ReadStartElement(String^) | Checks that the current content node is an element with the given Name and advances the reader to the next node. |
![]() | ReadStartElement(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.” |
Show:
