IDocumentTypeResolver.Resolve MethodIDocumentTypeResolver.Resolve MethodIDocumentTypeResolver::Resolve Method

Resolves a URI to the type of the document represented at that URI.

Syntax

Function Resolve( _
    uri As AnyUri, _
    whitespaceSettings As XsltWhitespaceSettings _
) As XdmType
XdmType Resolve(
    AnyUri uri,
    XsltWhitespaceSettings whitespaceSettings
)
XdmType^ Resolve(
    AnyUri^ uri, 
    XsltWhitespaceSettings^ whitespaceSettings
)
 

Parameters

uri

Type: XmlPrime.AnyUriXmlPrime.AnyUriXmlPrime::AnyUri^

The absolute URI of the document to resolve.

whitespaceSettings

Type: XmlPrime.XsltWhitespaceSettingsXmlPrime.XsltWhitespaceSettingsXmlPrime::XsltWhitespaceSettings^

The whitespace settings.

Return Value

Type: XmlPrime.XdmTypeXmlPrime.XdmTypeXmlPrime::XdmType^

An XdmTypeXdmTypeXdmType instance representing the type of the document at the specified URI, or null a null reference (Nothing in Visual Basic) nullptr if the URI is not handled, or the type is not known.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullExceptionuri is null a null reference (Nothing in Visual Basic) nullptr
ArgumentExceptionArgumentExceptionArgumentExceptionuri is not an absolute URI.