System::Xml::XPath::XPathNavigator::Evaluate method

XPathNavigator::Evaluate(SharedPtr<XPathExpression>) method

Evaluates the XPathExpression and returns the typed result.

virtual SharedPtr<Object> System::Xml::XPath::XPathNavigator::Evaluate(SharedPtr<XPathExpression> expr)
ParameterTypeDescription
exprSharedPtr<XPathExpression>An XPathExpression that can be evaluated.

ReturnValue

The result of the expression (Boolean, number, string, or node set). This maps to Boolean, Double, String, or XPathNodeIterator objects respectively.

See Also

XPathNavigator::Evaluate(SharedPtr<XPathExpression>, SharedPtr<XPathNodeIterator>) method

Uses the supplied context to evaluate the XPathExpression, and returns the typed result.

virtual SharedPtr<Object> System::Xml::XPath::XPathNavigator::Evaluate(SharedPtr<XPathExpression> expr, SharedPtr<XPathNodeIterator> context)
ParameterTypeDescription
exprSharedPtr<XPathExpression>An XPathExpression that can be evaluated.
contextSharedPtr<XPathNodeIterator>An XPathNodeIterator that points to the selected node set that the evaluation is to be performed on.

ReturnValue

The result of the expression (Boolean, number, string, or node set). This maps to Boolean, Double, String, or XPathNodeIterator objects respectively.

See Also

XPathNavigator::Evaluate(String) method

Evaluates the specified XPath expression and returns the typed result.

virtual SharedPtr<Object> System::Xml::XPath::XPathNavigator::Evaluate(String xpath)
ParameterTypeDescription
xpathStringA string representing an XPath expression that can be evaluated.

ReturnValue

The result of the expression (Boolean, number, string, or node set). This maps to Boolean, Double, String, or XPathNodeIterator objects respectively.

See Also

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

Evaluates the specified XPath expression and returns the typed result, using the IXmlNamespaceResolver object specified to resolve namespace prefixes in the XPath expression.

virtual SharedPtr<Object> System::Xml::XPath::XPathNavigator::Evaluate(String xpath, SharedPtr<IXmlNamespaceResolver> resolver)
ParameterTypeDescription
xpathStringA string representing an XPath expression that can be evaluated.
resolverSharedPtr<IXmlNamespaceResolver>The IXmlNamespaceResolver object used to resolve namespace prefixes in the XPath expression.

ReturnValue

The result of the expression (Boolean, number, string, or node set). This maps to Boolean, Double, String, or XPathNodeIterator objects respectively.

See Also