XmlDictionaryReader.ReadStartElement Method (XmlDictionaryString, XmlDictionaryString)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Checks whether the node with the given localName and namespaceUri is a start element and advances the reader to the next node. Throws an exception if the node is not a start element.

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


Public Overridable Sub ReadStartElement ( _
    localName As XmlDictionaryString, _
    namespaceUri As XmlDictionaryString _
public virtual void ReadStartElement(
    XmlDictionaryString localName,
    XmlDictionaryString namespaceUri



Throws an XmlException if the element is not a start element.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0


Windows Phone

See Also


XmlDictionaryReader Class

ReadStartElement Overload

System.Xml Namespace