SharedDocumentSet.Document MethodSharedDocumentSet.Document MethodSharedDocumentSet::Document Method
- XmlPrime 1.4
- Other Versions ▼
Returns an IXPathNavigableIXPathNavigableIXPathNavigable instance representing the document retrieved from the specified URI.
Syntax
Public Overrides Function Document( _ uri As AnyUri, _ whitespaceSettings As XsltWhitespaceSettings _ ) As System.Xml.XPath.IXPathNavigable
public override System.Xml.XPath.IXPathNavigable Document( AnyUri uri, XsltWhitespaceSettings whitespaceSettings )
public: virtual System.Xml.XPath::IXPathNavigable^ Document( AnyUri^ uri, XsltWhitespaceSettings^ whitespaceSettings ) override
Parameters
- uri
Type: XmlPrime.AnyUriXmlPrime.AnyUriXmlPrime::AnyUri^
The URI of the document to be retrieved.
- whitespaceSettings
Type: XmlPrime.XsltWhitespaceSettingsXmlPrime.XsltWhitespaceSettingsXmlPrime::XsltWhitespaceSettings^
The whitespace settings.
Return Value
Type: System.Xml.XPath.IXPathNavigableSystem.Xml.XPath.IXPathNavigableSystem.Xml.XPath::IXPathNavigable^
An instance representing the document, or null
a null reference (Nothing
in Visual Basic)
nullptr
if the URI
was not handled.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException | uri is null
a null reference (Nothing in Visual Basic)
nullptr . |
ArgumentExceptionArgumentExceptionArgumentException | uri is not an absolute URI. |
XdmExceptionXdmExceptionXdmException | An error occurred during a previous attempt to retrieve the document. |
ExceptionExceptionException | An error occurred retrieving the document. |