NDoc 1.3.1 SDK

XsltResourceResolver.ResolveUri Method 

Resolves the absolute URI from the base and relative URIs.

[Visual Basic]
Overrides Public Function ResolveUri( _ 
   ByVal baseUri As Uri, _ 
   ByVal relativeUri As String _ 
) As Uri
[C#]
public override Uri ResolveUri(
   Uri baseUri,
   string relativeUri
);
[C++]
public: Uri* ResolveUri(
   Uri* baseUri,
   String* relativeUri
);
[JScript]
public override function ResolveUri(
   Uri baseUri,
   String relativeUri
): Uri;

Parameters

baseUri
The base URI used to resolve the relative URI.
relativeUri
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

A Uri representing the absolute URI or a null reference (Nothing in Visual Basic) if the relative URI can not be resolved.

Remarks

baseURI is always a null reference (Nothing in Visual Basic) when this method is called from XslTransform.Load

See Also

XsltResourceResolver Class | NDoc.Core Namespace