IsLocalName Method (XmlDictionaryString)
Collapse the table of content
Expand the table of content

XmlDictionaryReader.IsLocalName Method (XmlDictionaryString)

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

Checks whether the parameter, localName, is the local name of the current node.

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

public virtual bool IsLocalName(
	XmlDictionaryString localName
)

Parameters

localName
Type: System.Xml.XmlDictionaryString
An XmlDictionaryString that represents the local name of the current node.

Return Value

Type: System.Boolean
true if localName matches the local name of the current node; otherwise, false.

ExceptionCondition
ArgumentNullException

localName is null.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft