[]
Returns the relative path, for example: GetRelativePath("c:\temp", "c:\temp\qq\zz.txt") returns "qq\zz.txt".
public static string GetRelativePath(string basePath, string path)
| Type | Name | Description |
|---|---|---|
| string | basePath | The base path for resolving a relative file name. |
| string | path | The relative path to the file. |
| Type | Description |
|---|---|
| string | The converted relative file path. |