Saxon API for .NET |

# XQueryExecutable Class

An `XQueryExecutable` represents the compiled form of a query. To execute the query, it must first be loaded to form an `XQueryEvaluator`.

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

System.Object
XQueryExecutable

public class XQueryExecutable

#### Remarks

An `XQueryExecutable` is immutable, and therefore thread-safe. It is simplest to load a new `XQueryEvaluator` each time the query is to be run. However, the `XQueryEvaluator` is serially reusable within a single thread.

An `XQueryExecutable` is created by using one of the `Compile` methods on the `XQueryCompiler` class.

#### Requirements

Namespace: Saxon.Api

Assembly: saxon8api (in saxon8api.netmodule)

#### See Also

XQueryExecutable Members | Saxon.Api Namespace