Export (0) Print
Expand All

ControlCachePolicy Properties

The ControlCachePolicy type exposes the following members.

  Name Description
Public property Cached Gets or sets a value indicating whether fragment caching is enabled for the user control.
Public property Dependency Gets or sets an instance of the CacheDependency class associated with the cached user control output.
Public property Duration Gets or sets the amount of time that cached items are to remain in the output cache.
Public property ProviderName Gets or sets the name of the output-cache provider that is associated with a control instance.
Public property SupportsCaching Gets a value indicating whether the user control supports caching.
Public property VaryByControl Gets or sets a list of control identifiers to vary the cached output by.
Public property VaryByParams Gets or sets a list of GET or POST parameter names to vary the cached output by.
© 2014 Microsoft