System.Web.Configuration.OutputCacheProfile.VaryByCustom Property

Gets or sets the OutputCacheProfile.VaryByCustom property.

Syntax

[System.Configuration.ConfigurationProperty("varyByCustom")]
public string VaryByCustom { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The OutputCacheProfile.VaryByCustom can be any text that represents custom output-caching requirements. If a custom string is entered, you must override the System.Web.HttpApplication.GetVaryByCustomString(System.Web.HttpContext, string) method in the application's Global.asax file.

Note:

The OutputCacheProfile.VaryByCustom settings are the same ones used by the VaryByCustom attribute of the @ OutputCache directive.

Requirements

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