XmlDictionaryReader.ReadFullStartElement Method (XmlDictionaryString, XmlDictionaryString)

July 28, 2014

Checks whether the node with the given localName and namespaceUri is a start element and whether it is a nonempty element, and reads it if these conditions are satisfied, advancing the reader to the next node. Throws an exception if it is not a start element or if it is an empty element.

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

public virtual void ReadFullStartElement(
	XmlDictionaryString localName,
	XmlDictionaryString namespaceUri
)

Parameters

localName
Type: System.Xml.XmlDictionaryString
The local XmlDictionaryString name of the element.
namespaceUri
Type: System.Xml.XmlDictionaryString
The XmlDictionaryString namespace URI of the element.

Throws an XmlException if the current content node is not a start element or if it is an empty element.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft