======Класс FileUtils====== * **Пространство имен:** [[developers:references:topomatic.foundationclasses.utils|Topomatic.FoundationClasses.Utils]] * **Сборка:** Topomatic.FoundationClasses (в Topomatic.FoundationClasses.dll) =====Иерархия наследования===== * System.Object * Topomatic.FoundationClasses.Utils.FileUtils =====Синтаксис===== public abstract sealed class FileUtils =====Методы===== ^Тип^Имя^Описание^ |{{developers:references:method.png|Метод}}{{developers:references:static.png|Статический}}|[[developers:references:topomatic.foundationclasses.utils.fileutils.canmakerelativepath_system.string_system.string|CanMakeRelativePath(String, String)]]| | |{{developers:references:method.png|Метод}}|Equals(Object)| Определяет, равен ли заданный объект текущему объекту. (Наследуется от Object.)| |{{developers:references:method.png|Метод}}{{developers:references:static.png|Статический}}|[[developers:references:topomatic.foundationclasses.utils.fileutils.extractfilepathnodrive_system.string|ExtractFilePathNoDrive(String)]]| Возвращает путь к файлу или папке без имени файла и буквы диска | |{{developers:references:method.png|Метод}}{{developers:references:static.png|Статический}}|[[developers:references:topomatic.foundationclasses.utils.fileutils.extractrelativefilepath_system.string_system.string|ExtractRelativeFilePath(String, String)]]| Возвращает относительный путь к файлу или папке | |{{developers:references:method.png|Метод}}{{developers:references:static.png|Статический}}|[[developers:references:topomatic.foundationclasses.utils.fileutils.extractrelativeuripath_system.string_system.string|ExtractRelativeUriPath(String, String)]]| | |{{developers:references:method.png|Метод}}{{developers:references:static.png|Статический}}|[[developers:references:topomatic.foundationclasses.utils.fileutils.findfileextensionbyobjectid_system.string|FindFileExtensionByObjectId(String)]]| По строке находит расширение файла для старой структуры | |{{developers:references:method.png|Метод}}{{developers:references:static.png|Статический}}|[[developers:references:topomatic.foundationclasses.utils.fileutils.findfullpath_system.string_system.string|FindFullPath(String, String)]]| Строит полный путь по относительному пути | |{{developers:references:method.png|Метод}}|GetHashCode()| Служит хэш-функцией по умолчанию. (Наследуется от Object.)| |{{developers:references:method.png|Метод}}{{developers:references:static.png|Статический}}|[[developers:references:topomatic.foundationclasses.utils.fileutils.getpathroot_system.string|GetPathRoot(String)]]| | |{{developers:references:method.png|Метод}}|GetType()| Возвращает объект Type для текущего экземпляра. (Наследуется от Object.)| |{{developers:references:method.png|Метод}}{{developers:references:static.png|Статический}}|[[developers:references:topomatic.foundationclasses.utils.fileutils.isvalidfilename_system.string|IsValidFileName(String)]]| | |{{developers:references:method.png|Метод}}{{developers:references:static.png|Статический}}|[[developers:references:topomatic.foundationclasses.utils.fileutils.isvalidpath_system.string|IsValidPath(String)]]| | |{{developers:references:method.png|Метод}}{{developers:references:static.png|Статический}}|[[developers:references:topomatic.foundationclasses.utils.fileutils.objectidtorelativepath_system.string_system.string|ObjectIdToRelativePath(String, String)]]| Преобразует строковое значение ObjectId в относительный путь | |{{developers:references:method.png|Метод}}|ToString()| Возвращает строку, представляющую текущий объект. (Наследуется от Object.)|