Assembly: Microsoft.VisualBasic (in microsoft.visualbasic.dll)
For more detailed information, see the Visual Basic topic RecycleOption Enumeration.
To protect users against accidental deletion of important files, the Recycle Bin collects deleted files and provides a method for restoring those files. You must explicitly delete the files from the Recycle Bin to make the deletion permanent. Until the files are deleted from the Recycle Bin, the disk space occupied by those files is unavailable for other uses.
Sometimes it is beneficial to bypass the Recycle Bin, especially if you are deleting a large number of files (or a smaller number of very large files) that you are sure are no longer needed, and you want to reclaim the disk space.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.