XmlReader::ReadStartElement() method
Checks that the current node is an element and advances the reader to the next node.
virtual void System::Xml::XmlReader::ReadStartElement()
Exceptions
| Exception | Description |
|---|
| XmlException | Incorrect XML was encountered in the input stream. |
XmlReader::ReadStartElement(String) method
Checks that the current content node is an element with the given XmlReader::get_Name value and advances the reader to the next node.
virtual void System::Xml::XmlReader::ReadStartElement(String name)
Arguments
| Parameter | Type | Description |
|---|
| name | String | The qualified name of the element. |
Exceptions
| Exception | Description |
|---|
| XmlException | Incorrect XML was encountered in the input stream. The XmlReader::get_Name of the element does not match the given name. |
XmlReader::ReadStartElement(String, String) method
Checks that the current content node is an element with the given XmlReader::get_LocalName and XmlReader::get_NamespaceURI values and advances the reader to the next node.
virtual void System::Xml::XmlReader::ReadStartElement(String localname, String ns)
Arguments
| Parameter | Type | Description |
|---|
| localname | String | The local name of the element. |
| ns | String | The namespace URI of the element. |
Exceptions
See Also