XmlDictionaryReader.IsNamespaceUri Method (String)

July 28, 2014

Checks whether the parameter, namespaceUri, is the namespace of the current node.

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

public virtual bool IsNamespaceUri(
	string namespaceUri
)

Parameters

namespaceUri
Type: System.String
The namespace of the current node.

Return Value

Type: System.Boolean
true if namespaceUri matches the namespace of the current node; otherwise, false.

ExceptionCondition
ArgumentNullException

namespaceUri is null.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft