Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
Gadgets
Windows SideShow
Microsoft.SideShow
 GadgetCachePolicies Enumeration
GadgetCachePolicies Enumeration
GadgetCachePolicies Enumeration
Specifies how devices should cache a gadget's content.


Namespace: Microsoft.SideShow
Assembly: Microsoft.SideShow (in microsoft.sideshow.dll)
Visual Basic
<FlagsAttribute> _
<SuppressMessageAttribute("Microsoft.Design", "CA1008:EnumsShouldHaveZeroValue", Justification:="KeepNewest is more descriptive and can't be combined with the other flags")> _
Public Enumeration GadgetCachePolicies
C#
[FlagsAttribute] 
[SuppressMessageAttribute("Microsoft.Design", "CA1008:EnumsShouldHaveZeroValue", Justification="KeepNewest is more descriptive and can\'t be combined with the other flags")] 
public enum GadgetCachePolicies
C++
[FlagsAttribute] 
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1008:EnumsShouldHaveZeroValue", Justification=L"KeepNewest is more descriptive and can\'t be combined with the other flags")] 
public enum class GadgetCachePolicies
J#
/** @attribute FlagsAttribute() */ 
/** @attribute SuppressMessageAttribute("Microsoft.Design", "CA1008:EnumsShouldHaveZeroValue", Justification="KeepNewest is more descriptive and can\'t be combined with the other flags") */ 
public enum GadgetCachePolicies
JScript
FlagsAttribute 
SuppressMessageAttribute("Microsoft.Design", "CA1008:EnumsShouldHaveZeroValue", Justification="KeepNewest is more descriptive and can\u0027t be combined with the other flags") 
public enum GadgetCachePolicies
Member nameDescription
KeepFrequentlyAccessedGives priority to the most frequently accessed items. This may be combined with the KeepOldest policy to give priority to the oldest of items that have equal access frequency.
KeepNewestGives priority to new cache items.
KeepOldestGives priority to the oldest items in the cache. The default behavior is to flush the older items to make room for newer ones.
KeepRecentlyAccessedGives priority to the most recently accessed items. This may be combined with the KeepOldest policy to give priority to the oldest of items that have equal last access times.

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
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker