System::Xml::XPath::XPathNavigator::MoveToNamespace 方法

XPathNavigator::MoveToNamespace method

XPathNavigator 移动到具有指定命名空间前缀的命名空间节点。

virtual bool System::Xml::XPath::XPathNavigator::MoveToNamespace(String name)
参数类型描述
名称String命名空间节点的命名空间前缀。

ReturnValue

true if the XPathNavigator is successful moving to the specified namespace; false if a matching namespace node was not found, or if the XPathNavigator is not positioned on an element node. If false, the position of the XPathNavigator is unchanged.

另见