System.Web.Hosting.VirtualPathProvider.CombineVirtualPaths Method

Combines a base path with a relative path to return a complete path to a virtual resource.

Syntax

public virtual string CombineVirtualPaths (string basePath, string relativePath)

Parameters

basePath
The base path for the application.
relativePath
The path to the virtual resource, relative to the base path.

Returns

The complete path to a virtual resource.

Remarks

Use the VirtualPathProvider.CombineVirtualPaths(string, string) method to inspect the contents of a relative path to a virtual resource and perform any modifications required.

The default implementation combines the basePath and relativePath parameters according to standard ASP.NET path processing.

Requirements

Namespace: System.Web.Hosting
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0