SharedDocumentSet.Collection MethodSharedDocumentSet.Collection MethodSharedDocumentSet::Collection Method

Returns an IResolvedCollectionIResolvedCollectionIResolvedCollection instance representing the collection retrieved from the specified URI.

Syntax

Public Overrides Function Collection( _
    uri As AnyUri _
) As IResolvedCollection
public override IResolvedCollection Collection(
    AnyUri uri
)
public:
virtual IResolvedCollection^ Collection(
    AnyUri^ uri
) override
 

Parameters

uri

Type: XmlPrime.AnyUriXmlPrime.AnyUriXmlPrime::AnyUri^

The URI of the collection to be retrieved, or null a null reference (Nothing in Visual Basic) nullptr for the default collection.

Return Value

Type: XmlPrime.IResolvedCollectionXmlPrime.IResolvedCollectionXmlPrime::IResolvedCollection^

An array of IXPathNavigableIXPathNavigableIXPathNavigable instances representing the collection, or null a null reference (Nothing in Visual Basic) nullptr if the URI was not handled.

Exceptions

ExceptionCondition
ArgumentExceptionArgumentExceptionArgumentExceptionuri is not an absolute URI.
XmlExceptionXmlExceptionXmlExceptionThe collection returned from the collection resolver was not valid.
XdmExceptionXdmExceptionXdmExceptionAn error occurred during a previous attempt to retrieve the collection.
ExceptionExceptionException An error occurred retrieving the collection.