ApplicationPart.ProcessVirtualPath(Assembly, String, String) Method

Definition

Resolves a path to the specified assembly or resource within an assembly by using the specified base virtual path and specified virtual path.

public static string ProcessVirtualPath (System.Reflection.Assembly assembly, string baseVirtualPath, string virtualPath);
static member ProcessVirtualPath : System.Reflection.Assembly * string * string -> string
Public Shared Function ProcessVirtualPath (assembly As Assembly, baseVirtualPath As String, virtualPath As String) As String

Parameters

assembly
Assembly

The assembly.

baseVirtualPath
String

The base virtual path.

virtualPath
String

The virtual path.

Returns

The path of the assembly or resource.

Exceptions

assembly is not registered.

Applies to