Table of Contents

Method Delete

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Delete(IEnumerable<IFileSystemInfo>)

Specifies how to handle file/directory deletion attempts in FileDialog.

bool Delete(IEnumerable<IFileSystemInfo> toDelete)

Parameters

toDelete IEnumerable<IFileSystemInfo>

Returns

bool

true if operation was completed or false if cancelled

Remarks

Ensure you use a try/catch block with appropriate error handling (e.g. showing a MessageBox