XPathNavigator.GetNamespace Method

Returns the value of the namespace node corresponding to the specified local name.

Namespace:  System.Xml.XPath
Assembly:  System.Xml.XPath (in System.Xml.XPath.dll)

public virtual string GetNamespace(
	string name
)

Parameters

name
Type: System.String
The local name of the namespace node.

Return Value

Type: System.String
A String that contains the value of the namespace node; String.Empty if a matching namespace node is not found, or if the XPathNavigator is not positioned on an element node.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: