System.Web.UI.UserControl.CachePolicy Property

Gets a reference to a collection of caching parameters for this user control.

Syntax

[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public ControlCachePolicy CachePolicy { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The UserControl.CachePolicy property defines the cache parameters for the instance of the System.Web.UI.UserControl class. The UserControl.CachePolicy property is read-only; however, you can set the properties of the System.Web.UI.ControlCachePolicy object that it returns.

The UserControl.CachePolicy property cannot be set declaratively. It must be set programmatically.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0