FileUtilities.MakeRelativePath - метод Смотри также Terrasoft.Common - пространство имен > FileUtilities - класс : MakeRelativePath - метод C#
- baseDirectoryPath
- The base path to the folder from which the path to the file is built.
- absoluteFilePath
- The absolute path to the file.
Glossary Item Box
public static string MakeRelativePath( string baseDirectoryPath, string absoluteFilePath )
Параметры
- baseDirectoryPath
- The base path to the folder from which the path to the file is built.
- absoluteFilePath
- The absolute path to the file.
Тип возвращаемого значения
The string that represents the path to the absoluteFilePath file relatively to the baseDirectoryPath folder.Исключение | Описание |
---|---|
ArgumentNullOrEmptyException | If an empty value or null is received as the baseDirectoryPath or absoluteFilePath parameters. |