Saxon API for .NET |

# XQueryCompiler.QueryResolver Property

A user-supplied `IQueryResolver` used to resolve location hints appearing in an `import module` declaration.

public IQueryResolver QueryResolver {get; set;}

#### Remarks

In the absence of a user-supplied `QueryResolver`, an `import module` declaration is interpreted as follows. First, if the module URI identifies an already loaded module, that module is used and the location hints are ignored. Otherwise, each URI listed in the location hints is resolved using the `XmlResolver` registered with the `Processor`.

#### See Also

XQueryCompiler Class | Saxon.Api Namespace