Method Delete | Terminal.Gui v2 (original) (raw)
Namespace
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
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