XmlReader.ReadStartElement Method

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)

public virtual void ReadStartElement()

ExceptionCondition
XmlException

IsStartElement returns false.

This method calls IsStartElement followed by Read to position you on the content of that element found in the input stream.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft