XmlPreloadedResolver.ResolveUri Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Resolves the absolute URI from the base and relative URIs.
Namespace: System.Xml.Resolvers
Assembly: System.Xml.Utils (in System.Xml.Utils.dll)
Syntax
'Declaration
Public Overrides Function ResolveUri ( _
baseUri As Uri, _
relativeUri As String _
) As Uri
public override Uri ResolveUri(
Uri baseUri,
string relativeUri
)
Parameters
- baseUri
Type: System.Uri
The base URI used to resolve the relative URI.
- relativeUri
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 nulla null reference (Nothing in Visual Basic) if the relative URI cannot be resolved.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.