IsStartElement Method (XmlDictionaryString, XmlDictionaryString)
Collapse the table of content
Expand the table of content

XmlDictionaryReader.IsStartElement Method (XmlDictionaryString, XmlDictionaryString)

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

Tests whether the first element is a start element or empty element and whether the local name and namespace URI match those of the current node.

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

public virtual bool IsStartElement(
	XmlDictionaryString localName,
	XmlDictionaryString namespaceUri
)

Parameters

localName
Type: System.Xml.XmlDictionaryString
An XmlDictionaryString that represents the local name of the attribute.
namespaceUri
Type: System.Xml.XmlDictionaryString
An XmlDictionaryString that represents the namespace of the attribute.

Return Value

Type: System.Boolean
true if the first element in the array is a start element or empty element and matches localName and namespaceUri; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft