XmlPreloadedResolver.ResolveUri MethodXmlPreloadedResolver.ResolveUri MethodXmlPreloadedResolver::ResolveUri Method

When overridden in a derived class, resolves the absolute URI from the base and relative URIs.

Syntax

Public Overrides Function ResolveUri( _
    baseUri As Uri, _
    relativeUri As String _
) As Uri
public override Uri ResolveUri(
    Uri baseUri,
    string relativeUri
)
public:
virtual Uri^ ResolveUri(
    Uri^ baseUri, 
    String^ relativeUri
) override
 

Parameters

baseUri

Type: System.UriSystem.UriSystem::Uri^

The base URI used to resolve the relative URI

relativeUri

Type: System.StringSystem.StringSystem::String^

The URI to resolve. The URI can be absolute or relative. If absolute, this value effectively replaces the baseUri value. If relative, it combines with the baseUri to make an absolute URI.

Return Value

Type: System.UriSystem.UriSystem::Uri^

A UriUriUri representing the absolute URI or null if the relative URI cannot be resolved.