System.Web.UI.OutputCacheParameters.VaryByCustom Property

Gets a list of custom strings that the output cache uses to vary the cache entry.

Syntax

public string VaryByCustom { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If you specify "browser" for this property, the cache entry will be varied by browser type and major version number. If a custom string is entered, you must override the System.Web.HttpApplication.GetVaryByCustomString(System.Web.HttpContext, string) method in your application's Global.asax file.

Requirements

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