System::Xml::XPath::XPathNavigator::MoveToFirstNamespace method

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
ParameterType描述
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.

另见