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 System.Xml.XPath.IXPathNavigable[]
public virtual System.Xml.XPath.IXPathNavigable[] Collection( AnyUri uri )
public: virtual array<System.Xml.XPath::IXPathNavigable^> 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: System.Xml.XPath.IXPathNavigable[]System.Xml.XPath.IXPathNavigable()array
<System.Xml.XPath::IXPathNavigable^>^
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
Exception | Condition |
ArgumentExceptionArgumentExceptionArgumentException | uri is not an absolute URI. |
XmlExceptionXmlExceptionXmlException | The collection returned from the collection resolver was not valid. |
XdmExceptionXdmExceptionXdmException | An error occurred during a previous attempt to retrieve the collection. |
ExceptionExceptionException | An error occurred retrieving the collection. |