Mono Class Library: System.Xml.XmlResolver Overview | Members

System.Xml.XmlResolver.ResolveUri Method

Resolves the absolute URI from the base and relative URIs. [Edit]

public virtual Uri ResolveUri (Uri baseUri, string relativeUri)

Parameters

baseUri
The Uri specifying the base URI used to resolve relativeURI. [Edit]
relativeUri
A string specifying the URI to resolve. The URI can be absolute or relative. [Edit]

Returns

A Uri containing the absolute URI, or null if relativeUri can not be resolved. [Edit]

Exceptions

TypeReason
System.Xml.XmlExceptionbaseUri and relativeUri are null. [Edit]
System.Xml.ArgumentExceptionbaseUri and relativeUri are null. [Edit]

Remarks

Operation
As described above.

Note to Inheritors
This method must be overridden in order to provide the functionality described above, as there is no default implementation.

[Edit]

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0