Trashcan

Implementation of ITrashcan. This class may have additional platform-dependent functions and different constructors. This class is currently available only for Windows and Freedesktop (GNU/Linux, FreeBSD, etc.) platforms.

Constructors

this
this()

Members

Functions

byItem
InputRange!TrashcanItem byItem()

Lazily list items stored in trashcan.

erase
void erase(TrashcanItem item)

Erase item from trashcan.

restore
void restore(TrashcanItem item)

Restore item to its original location.

Properties

displayName
string displayName [@property getter]

The name of trashcan (possibly localized). Currently implemented only for Windows and KDE, and returns empty string on other platforms.

recycleBin
IShellFolder2 recycleBin [@property getter]

Windows-only function to get IShellFolder2 object associated with recycle bin.

Structs

IShellFolder2
struct IShellFolder2
Undocumented in source.

Inherited Members

From ITrashcan

byItem
InputRange!TrashcanItem byItem()

List items stored in trashcan.

restore
void restore(TrashcanItem item)

Restore item to its original location.

erase
void erase(TrashcanItem item)
erase(TrashcanItem item)

Erase item from trashcan.

displayName
string displayName [@property getter]

The name of trashcan (possibly localized).

Meta