ICollectionTypeResolver InterfaceICollectionTypeResolver InterfaceICollectionTypeResolver Interface
Properties
| Property | Description | |
|---|---|---|
| DefaultTypeDefaultTypeDefaultType | Gets the static type of all collections accessible from a query. |
Methods
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.
