SideShowGadget Constructor (Boolean)

Initializes a new instance of the SideShowGadget class by using the cache.

Namespace: Microsoft.SideShow
Assembly: Microsoft.SideShow (in microsoft.sideshow.dll)

Usage

Syntax

'Declaration
Protected Sub New ( _
    useCache As Boolean _
)
protected SideShowGadget (
    bool useCache
)
protected:
SideShowGadget (
    bool useCache
)
protected SideShowGadget (
    boolean useCache
)
protected function SideShowGadget (
    useCache : boolean
)

Parameters

  • useCache
    A Boolean that indicates whether the managed API stores content provided by the gadget. See Remarks.

Remarks

Constructors that contain the useCache parameter enable you to turn off the managed API’s content cache by specifying false. If you want the managed API to cache content, you can simply use a similar constructor without the useCache parameter.

Note that the managed API’s content cache is not related to the device cache algorithm, which specifies behavior for the device content cache.

Platforms

Development Platforms

Windows Vista Home Premium, Windows Vista Business, Windows Vista Enterprise, Windows Vista Ultimate

Target Platforms

Windows Vista Home Premium, Windows Vista Business, Windows Vista Enterprise, Windows Vista Ultimate

See Also

Reference

SideShowGadget Class
SideShowGadget Members
Microsoft.SideShow Namespace

Other Resources

About Windows SideShow Gadgets