System.Gadget.close Method

Ends a running instance of a gadget.

Syntax

System.Gadget.close()

Parameters

This method has no parameters.

Return Value

This method does not return a value.

Remarks

The close method is asynchronous. The gadget script should not attempt to continue execution after the close call.

<html> 
<body onload="loaded()">
<script>
function loaded()
{
  window.setTimeout(close, 0);
}

function close()
{
  System.Gadget.close();
}
</script>
</body> 
</html>

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.Gadget

 

 

Send comments about this topic to Microsoft

Build date: 2/24/2010

Build type: SDK