System.Shell.RecycleBin.showRecycleSettings Method

Displays the Recycle Bin Properties dialog.

Syntax

System.Shell.RecycleBin.showRecycleSettings()

Parameters

This method has no parameters.

Return Value

This method does not return a value.

Remarks

The Recycle Bin Properties settings determine how file deletion is handled. For example, whether files are deleted immediately or stored until the Recycle Bin is emptied, whether the Recycle Bin is system-wide or operates on a per-drive basis, and whether confirmation dialogs are displayed.

Examples

The following example demonstrates how to display the Recycle Bin Properties dialog.

// --------------------------------------------------------------------
// Display the Recycle Bin Properties dialog.
// --------------------------------------------------------------------
function RecycleBinProperties()
{
    System.Shell.RecycleBin.showRecycleSettings();
}

Requirements

Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
IDL Sidebar.idl
DLL Sidebar.Exe version 1.00 or later

See Also

System.Shell.RecycleBin

 

 

Send comments about this topic to Microsoft

Build date: 2/24/2010

Build type: SDK