Method Delete | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

Delete(IEnumerable)

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

public 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

Edit this page