GadgetCachePolicies Enumeration
Specifies how devices should cache a gadget's content.


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

Syntax

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
Members

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

Tags :


Page view tracker