DocumentSet.Collection MethodDocumentSet.Collection MethodDocumentSet::Collection Method

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

Syntax

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

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.