DocumentSet.Collection MethodDocumentSet.Collection MethodDocumentSet::Collection Method
- XmlPrime 1.4
- Other Versions ▼
Returns an IXPathNavigableIXPathNavigableIXPathNavigable instance representing the collection retrieved from the specified URI.
Syntax
Public Overridable Function Collection( _ uri As AnyUri, _ whitespaceSettings As XsltWhitespaceSettings _ ) As System.Xml.XPath.IXPathNavigable[]
public virtual System.Xml.XPath.IXPathNavigable[] Collection( AnyUri uri, XsltWhitespaceSettings whitespaceSettings )
public: virtual array<System.Xml.XPath::IXPathNavigable^> Collection( AnyUri^ uri, XsltWhitespaceSettings^ whitespaceSettings )
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.- whitespaceSettings
Type: XmlPrime.XsltWhitespaceSettingsXmlPrime.XsltWhitespaceSettingsXmlPrime::XsltWhitespaceSettings^
The whitespace settings.
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. |