ICollectionTypeResolver InterfaceICollectionTypeResolver InterfaceICollectionTypeResolver Interface

An interface used to resolve the types of external collections.

Syntax

Public Interface ICollectionTypeResolver
public interface ICollectionTypeResolver
public:
interface class ICollectionTypeResolver
 
The ICollectionTypeResolverICollectionTypeResolverICollectionTypeResolver type exposes the following members.

Properties

 PropertyDescription
Public propertyDefaultCollectionTypeDefaultCollectionTypeDefaultCollectionType Gets the static type of all collections accessible from a query.

Top

Methods

 MethodDescription
Public methodResolveCollectionTypeResolveCollectionTypeResolveCollectionType Resolves a URI to the type of the document represented at that URI.

Top

Remarks

The ICollectionTypeResolverICollectionTypeResolverICollectionTypeResolver interface is used to resolve the types of calls to the fn:collection function when its argument can be statically determined.

The ICollectionTypeResolverICollectionTypeResolverICollectionTypeResolver is specified using the CollectionTypeResolverCollectionTypeResolverCollectionTypeResolver property.

The collection type resolver represents the statically known collections and statically known default collection type components of the static context.

If a collection returned from the DocumentSetDocumentSetDocumentSet at runtime does not match the type specified by the ICollectionTypeResolverICollectionTypeResolverICollectionTypeResolver then an err:XPTY0004 error is raised.