GadgetCachePolicies Enumeration
Specifies how devices should cache a gadget's content.
Namespace: Microsoft.SideShow
Assembly: Microsoft.SideShow (in microsoft.sideshow.dll)
Usage
Syntax
'Declaration
<FlagsAttribute> _
<SuppressMessageAttribute("Microsoft.Design", "CA1008:EnumsShouldHaveZeroValue", Justification:="KeepNewest is more descriptive and can't be combined with the other flags")> _
Public Enumeration GadgetCachePolicies
[FlagsAttribute]
[SuppressMessageAttribute("Microsoft.Design", "CA1008:EnumsShouldHaveZeroValue", Justification="KeepNewest is more descriptive and can\'t be combined with the other flags")]
public enum GadgetCachePolicies
[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
/** @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
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 name | Description |
---|---|
KeepFrequentlyAccessed | Gives 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. |
KeepNewest | Gives priority to new cache items. |
KeepOldest | Gives priority to the oldest items in the cache. The default behavior is to flush the older items to make room for newer ones. |
KeepRecentlyAccessed | Gives 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