System.Gadget.SideShow.enabled method
[The Windows Gadget Platform/Sidebar is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. ]
Retrieves whether SideShow is supported.
bRetVal = System.Gadget.SideShow.enabled()
This method has no parameters.
Boolean that specifies the SideShow support.
Return value | Description |
---|---|
|
SideShow is supported. |
|
SideShow is not supported. |
Verify that System.Gadget.SideShow.enabled returns true
before using other System.Gadget.SideShow object members.
The following example demonstrates how to determine whether SideShow is supported using enabled.
var sideshowEnabled = System.Gadget.SideShow.enabled();
if (sideshowEnabled)
{
// Do something.
}
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
End of client support |
Windows 7 |
End of server support |
Windows Server 2008 |
IDL |
|
DLL |
|