메소드 | 설명 | |
---|---|---|
GetAbsolutePath ( string relativePath, string currentFolder, string rootFolder ) : string |
Gets the absolute path of a given file with relative path.
|
|
GetRelativePath ( string relativePathOf, string relativeTo ) : string |
Retrieves the relative path of a given file relative to a given directory.
|
public static GetAbsolutePath ( string relativePath, string currentFolder, string rootFolder ) : string | ||
relativePath | string | Relative path of the file to fine the absolute path. |
currentFolder | string | Path of the current directory. |
rootFolder | string | Path of the root directory. |
리턴 | string |
public static GetRelativePath ( string relativePathOf, string relativeTo ) : string | ||
relativePathOf | string | Absolute path of the file to find the relative path of. |
relativeTo | string | Path of the directory which the result must be relative to. |
리턴 | string |