Saxon API for .NET

XQueryEvaluator.Evaluate Method 

Evaluate the query, returning the result as an XdmValue (that is, a sequence of nodes and/or atomic values).

public XdmValue Evaluate();

Return Value

An XdmValue representing the results of the query

See Also

XQueryEvaluator Class | Saxon.Api Namespace