<xml></xml>

Saxon API for .NET |

# XQueryEvaluator Class

An `XQueryEvaluator` represents a compiled and loaded query ready for execution. The `XQueryEvaluator` holds details of the dynamic evaluation context for the query.

For a list of all members of this type, see XQueryEvaluator Members.

System.Object
XQueryEvaluator

public class XQueryEvaluator : IEnumerable

#### Remarks

An `XQueryEvaluator` should not be used concurrently in multiple threads. It is safe, however, to reuse the object within a single thread to run the same query several times. Running the query does not change the context that has been established.

An `XQueryEvaluator` is always constructed by running the `Load` method of an `XQueryExecutable`.

#### Requirements

Namespace: Saxon.Api

Assembly: saxon8api (in saxon8api.netmodule)

#### See Also

XQueryEvaluator Members | Saxon.Api Namespace