Метод | Описание | |
---|---|---|
ChooseFolder ( String title ) : String |
Show the Choose Folder Dialog and return true if successfully folder is chosen with chosen folder path.
|
|
ChooseFolder ( String title, |
Show the Choose Folder Dialog and return true if successfully folder is chosen with chosen folder path.
|
|
CopyFile ( String fromFile, String toFile, bool overWrite = true ) : bool |
Copy the source file to the destination file
|
|
CreateFolder ( String path ) : |
Create given folder path from file system
|
|
DeleteFolder ( String path ) : void |
Delete given folder path from file system
|
|
GetDirList ( string dirPath ) : List |
Get the directory and file list of given path
|
|
GetFileExtension ( String filePath ) : String |
Return only the extension of given file path
|
|
GetFileName ( String filePath ) : String |
Return the simple name of the file
|
|
GetFileTitle ( String filePath ) : String |
Return the simple name of the file without extension
|
|
GetModuleFileDirectory ( ) : String |
Return only the directory ending with "\" which contains the current executable file
|
|
GetModuleFileName ( ) : String |
Return the full path with file name for the current executable file
|
|
GetPathOnly ( String filePath ) : String |
Return only the directory of given file path with file name
|
|
IsDirectoryExist ( String path ) : bool |
Check if the given directory exists
|
|
IsFileExist ( String path ) : bool |
Check if the given file path exists
|
|
IsPathExist ( String path ) : bool |
Check if the given path exists
|
Метод | Описание | |
---|---|---|
GetModuleFileName ( |
public static ChooseFolder ( String title ) : String | ||
title | String | the title of the choose folder dialog |
Результат | String |
public static ChooseFolder ( String title, |
||
title | String | the title of the choose folder dialog |
rootFolder | the root folder | |
Результат | String |
public static CopyFile ( String fromFile, String toFile, bool overWrite = true ) : bool | ||
fromFile | String | the source file path |
toFile | String | the destination file path |
overWrite | bool | overwrite if exist |
Результат | bool |
public static CreateFolder ( String path ) : |
||
path | String | the file path to create |
Результат |
public static DeleteFolder ( String path ) : void | ||
path | String | the file path to delete |
Результат | void |
public static GetDirList ( string dirPath ) : List |
||
dirPath | string | the folder path |
Результат | List |
public static GetFileExtension ( String filePath ) : String | ||
filePath | String | the full path of the file with file name |
Результат | String |
public static GetFileName ( String filePath ) : String | ||
filePath | String | the full path of the file with file name |
Результат | String |
public static GetFileTitle ( String filePath ) : String | ||
filePath | String | the full path of the file with file name |
Результат | String |
public static GetModuleFileDirectory ( ) : String | ||
Результат | String |
public static GetModuleFileName ( ) : String | ||
Результат | String |
public static GetPathOnly ( String filePath ) : String | ||
filePath | String | the full path of the file with file name |
Результат | String |
public static IsDirectoryExist ( String path ) : bool | ||
path | String | the directory path to check |
Результат | bool |
public static IsFileExist ( String path ) : bool | ||
path | String | the file path to check |
Результат | bool |
public static IsPathExist ( String path ) : bool | ||
path | String | the path to check |
Результат | bool |