System::Xml::XPath::XPathNavigator::Select method

XPathNavigator::Select(SharedPtr<XPathExpression>) method

Selects a node set using the specified XPathExpression.

virtual SharedPtr<XPathNodeIterator> System::Xml::XPath::XPathNavigator::Select(SharedPtr<XPathExpression> expr)
ParameterTypeDescription
exprSharedPtr<XPathExpression>An XPathExpression object containing the compiled XPath query.

ReturnValue

An XPathNodeIterator that points to the selected node set.

See Also

XPathNavigator::Select(String) method

Selects a node set, using the specified XPath expression.

virtual SharedPtr<XPathNodeIterator> System::Xml::XPath::XPathNavigator::Select(String xpath)
ParameterTypeDescription
xpathStringA String representing an XPath expression.

ReturnValue

An XPathNodeIterator pointing to the selected node set.

See Also

XPathNavigator::Select(String, SharedPtr<IXmlNamespaceResolver>) method

Selects a node set using the specified XPath expression with the IXmlNamespaceResolver object specified to resolve namespace prefixes.

virtual SharedPtr<XPathNodeIterator> System::Xml::XPath::XPathNavigator::Select(String xpath, SharedPtr<IXmlNamespaceResolver> resolver)
ParameterTypeDescription
xpathStringA String representing an XPath expression.
resolverSharedPtr<IXmlNamespaceResolver>The IXmlNamespaceResolver object used to resolve namespace prefixes.

ReturnValue

An XPathNodeIterator that points to the selected node set.

See Also