ScfSideShowGadget Constructor (Boolean)

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

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

Usage

Syntax

'Declaration
Public Sub New ( _
    useCache As Boolean _
)
public ScfSideShowGadget (
    bool useCache
)
public:
ScfSideShowGadget (
    bool useCache
)
public ScfSideShowGadget (
    boolean useCache
)
public function ScfSideShowGadget (
    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 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

ScfSideShowGadget Class
ScfSideShowGadget Members
Microsoft.SideShow.SimpleContentFormat Namespace

Other Resources

About Windows SideShow Gadgets