XmlResolver.ResolveUri Method

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

Namespace:  System.Xml
Assembly:  System.Xml (in System.Xml.dll)

Public Overridable Function ResolveUri ( _
	baseUri As Uri, _
	relativeUri As String _
) As Uri


Type: System.Uri
The base URI used to resolve the relative URI
Type: System.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.Uri
A Uri representing the absolute URI or Nothing if the relative URI cannot be resolved.


relativeUri is Nothing

The absolute URI may be used as the base URI for any subsequent requests for entities that are relative to this URI.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions