ICollectionTypeResolver InterfaceICollectionTypeResolver InterfaceICollectionTypeResolver Interface
Properties
Property | Description | |
---|---|---|
![]() | DefaultCollectionTypeDefaultCollectionTypeDefaultCollectionType | Gets the static type of all collections accessible from a query. |
Methods
Method | Description | |
---|---|---|
![]() | ResolveCollectionTypeResolveCollectionTypeResolveCollectionType | Resolves a URI to the type of the document represented at that URI. |
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.