C# 클래스 Business.FileOperationAPIWrapper

파일 보기 프로젝트 열기: mysteryx93/NaturalGroundingPlayer

공개 메소드들

메소드 설명
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

메소드 상세

DeleteCompletelySilent() 공개 정적인 메소드

public static DeleteCompletelySilent ( string path ) : bool
path string
리턴 bool

MoveToRecycleBin() 공개 정적인 메소드

Send file silently to recycle bin. Surpress dialog, surpress errors, delete if too large.
public static MoveToRecycleBin ( string path ) : void
path string Location of directory or file to recycle
리턴 void

Send() 공개 정적인 메소드

Send file to recycle bin. Display dialog, display warning if files are too big to fit (FOF_WANTNUKEWARNING)
public static Send ( string path ) : bool
path string Location of directory or file to recycle
리턴 bool

Send() 공개 정적인 메소드

Send file to recycle bin
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