Udostępnij za pośrednictwem


PathUtil.DerelativizePath(String, String) Method

Definition

Combines a relative path with a base path to return a rooted version of the relative path, collapsing any ".." segments that appear at the beginning of the relative path.

public:
 static System::String ^ DerelativizePath(System::String ^ relativePath, System::String ^ basePath);
public static string DerelativizePath (string relativePath, string basePath);
static member DerelativizePath : string * string -> string
Public Function DerelativizePath (relativePath As String, basePath As String) As String

Parameters

relativePath
String
basePath
String

Returns

Applies to