The FileInfoExtensions type exposes the following members.

Methods

  Name Description
Public method Static member AddToRecentDocuments
Adds a file to the Recent Documents menu using the Shell.
Public method Static member DeleteToRecycleBin(FileSystemInfo)
Deletes the file or directory to the recycle bin using the Shell.
Public method Static member DeleteToRecycleBin(FileSystemInfo, Boolean)
Deletes a file or directory to the recycle bin using the Shell. Optional confirmation dialog.

See Also