System.Web.UI.ControlCachePolicy.SupportsCaching Property

Gets a value indicating whether the user control supports caching.

Syntax

public bool SupportsCaching { get; }

Value

Documentation for this section has not yet been entered.

Remarks

A user control supports caching if it is associated with a System.Web.UI.BasePartialCachingControl instance, which signals that either an @ OutputCache directive was parsed by the ASP.NET parser or the user control was decorated with a System.Web.UI.PartialCachingAttribute attribute.

Requirements

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