PathUtil.DerelativizePath(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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