GetNamespace()

XPathNavigator::GetNamespace(String) method

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

virtual String System::Xml::XPath::XPathNavigator::GetNamespace(String name)

Arguments

ParameterTypeDescription
nameStringThe local name of the namespace node.

Return Value

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.

See Also