System.Shell.refreshDesktop Method

Refreshes the desktop after adding or removing files.

Syntax

System.Shell.refreshDesktop()

Parameters

This method has no parameters.

Return Value

This method does not return a value.

Remarks

refreshDesktop works across the desktop areas of all monitors connected to the system; not only the monitor displaying the Windows Sidebar.

Examples

The following example demonstrates how to refresh the desktop.

System.Shell.refreshDesktop();

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

 

 

Send comments about this topic to Microsoft

Build date: 2/24/2010

Build type: SDK