DocumentSet.ResolvedDocument MethodDocumentSet.ResolvedDocument MethodDocumentSet::ResolvedDocument Method

Returns an ResolvedDocumentResolvedDocumentResolvedDocument instance representing the document retrieved from the specified URI.

Syntax

Public Overridable Function ResolvedDocument( _
    uri As AnyUri _
) As IResolvedDocument
public virtual IResolvedDocument ResolvedDocument(
    AnyUri uri
)
public:
virtual IResolvedDocument^ ResolvedDocument(
    AnyUri^ uri
)
 

Parameters

uri

Type: XmlPrime.AnyUriXmlPrime.AnyUriXmlPrime::AnyUri^

The URI of the document to be retrieved.

Return Value

Type: XmlPrime.IResolvedDocumentXmlPrime.IResolvedDocumentXmlPrime::IResolvedDocument^

A instance representing the document, or null a null reference (Nothing in Visual Basic) nullptr if the URI was not handled.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullExceptionuri is null a null reference (Nothing in Visual Basic) nullptr.
ArgumentExceptionArgumentExceptionArgumentExceptionuri is not an absolute URI.
XmlExceptionXmlExceptionXmlExceptionThe document returned from the document resolver was not valid.
XdmExceptionXdmExceptionXdmExceptionAn error occurred during a previous attempt to retrieve the document.
ExceptionExceptionException An error occurred retrieving the document.

Remarks

The fragment identifier of the uri is ignored, but can be resolved against the document using the GetFragmentGetFragmentGetFragment method.