OutputCacheParameters.Enabled 属性

定义

获取或设置一个值,该值指示是否为当前内容启用输出缓存。

public:
 property bool Enabled { bool get(); void set(bool value); };
public bool Enabled { get; set; }
member this.Enabled : bool with get, set
Public Property Enabled As Boolean

属性值

true 如果为当前内容启用了输出缓存,则为否则,为 false. 默认值为 true

适用于