IDocumentTypeResolver.ResolveDocumentType MethodIDocumentTypeResolver.ResolveDocumentType MethodIDocumentTypeResolver::ResolveDocumentType Method
Resolves a URI to the type of the document represented at that URI.
Syntax
Function ResolveDocumentType( _ uri As AnyUri, _ inputSettings As InputSettings _ ) As XdmType
XdmType ResolveDocumentType( AnyUri uri, InputSettings inputSettings )
XdmType^ ResolveDocumentType( AnyUri^ uri, InputSettings^ inputSettings )
Parameters
- uri
Type: XmlPrime.AnyUriXmlPrime.AnyUriXmlPrime::AnyUri^
The absolute URI of the document to resolve.
- inputSettings
Type: XmlPrime.InputSettingsXmlPrime.InputSettingsXmlPrime::InputSettings^
The filters to be applied to the source documents.
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
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException | uri is null
a null reference (Nothing in Visual Basic)
nullptr |
ArgumentExceptionArgumentExceptionArgumentException | uri is not an absolute URI. |