XmlResourceResolver.ResolveResource MethodXmlResourceResolver.ResolveResource MethodXmlResourceResolver::ResolveResource Method
Resolves a URI to retrieve a resource.
Syntax
Public Function ResolveResource( _ uri As AnyUri _ ) As IResolvedResource
public IResolvedResource ResolveResource( AnyUri uri )
public: virtual IResolvedResource^ ResolveResource( AnyUri^ uri ) sealed
Parameters
- uri
Type: XmlPrime.AnyUriXmlPrime.AnyUriXmlPrime::AnyUri^
The absolute URI of the resource to resolve.
Return Value
Type: XmlPrime.IResolvedResourceXmlPrime.IResolvedResourceXmlPrime::IResolvedResource^
An ResolvedResourceResolvedResourceResolvedResource instance containing the resource at the specified URI, or
null
a null reference (Nothing
in Visual Basic)
nullptr
if the URI can not be mapped to a resource.
Remarks
A return value ofnull
a null reference (Nothing
in Visual Basic)
nullptr
indicates that uri is not supported by this
resolver (for example an unsupported URI scheme). If the URI does have meaning to this resolver but there
was an error retrieving the document then an exception should be thrown.