System::Xml::XPath::XPathNavigator::MoveToFirstNamespace 方法

XPathNavigator::MoveToFirstNamespace() method

XPathNavigator 移动到当前节点的第一个命名空间节点。

bool System::Xml::XPath::XPathNavigator::MoveToFirstNamespace()

ReturnValue

true if the XPathNavigator is successful moving to the first namespace node; otherwise, false. If false, the position of the XPathNavigator is unchanged.

另见

XPathNavigator::MoveToFirstNamespace(XPathNamespaceScope) method

当在派生类中被重写时,将 XPathNavigator 移动到匹配指定的 XPathNamespaceScope 的第一个命名空间节点。

virtual bool System::Xml::XPath::XPathNavigator::MoveToFirstNamespace(XPathNamespaceScope namespaceScope)=0
参数类型描述
namespaceScopeXPathNamespaceScope一个描述命名空间范围的 XPathNamespaceScope 值。

ReturnValue

true if the XPathNavigator is successful moving to the first namespace node; otherwise, false. If false, the position of the XPathNavigator is unchanged.

另见