Метод | Описание | |
---|---|---|
DeleteCompletelySilent ( string path ) : bool | ||
MoveToRecycleBin ( string path ) : void |
Send file silently to recycle bin. Surpress dialog, surpress errors, delete if too large.
|
|
Send ( string path ) : bool |
Send file to recycle bin. Display dialog, display warning if files are too big to fit (FOF_WANTNUKEWARNING)
|
|
Send ( string path, FileOperationFlags flags ) : bool |
Send file to recycle bin
|
Метод | Описание | |
---|---|---|
SHFileOperation ( SHFILEOPSTRUCT &FileOp ) : int | ||
deleteFile ( string path, FileOperationFlags flags ) : bool |
public static DeleteCompletelySilent ( string path ) : bool | ||
path | string | |
Результат | bool |
public static MoveToRecycleBin ( string path ) : void | ||
path | string | Location of directory or file to recycle |
Результат | void |
public static Send ( string path ) : bool | ||
path | string | Location of directory or file to recycle |
Результат | bool |
public static Send ( string path, FileOperationFlags flags ) : bool | ||
path | string | Location of directory or file to recycle |
flags | FileOperationFlags | FileOperationFlags to add in addition to FOF_ALLOWUNDO |
Результат | bool |