System::Xml::XPath::XPathNavigator::GetNamespace 方法

XPathNavigator::GetNamespace method

返回与指定本地名称对应的命名空间节点的值。

virtual String System::Xml::XPath::XPathNavigator::GetNamespace(String name)
ParameterType描述
name字符串命名空间节点的本地名称。

ReturnValue

一个 String,其中包含命名空间节点的值;如果未找到匹配的命名空间节点,或 XPathNavigator 未定位在元素节点上,则为 String::Empty

另见