System.Web.UI.ControlCachePolicy.VaryByParams Property

Gets or sets a list of GET or POST parameter names to vary the cached output by.

Syntax

public System.Web.HttpCacheVaryByParams VaryByParams { get; }

Value

Documentation for this section has not yet been entered.

Remarks

By default, these strings correspond to a query string value sent with the GET method or to a parameter sent using the POST method. When the ControlCachePolicy.VaryByParams property is set to multiple parameters, the output cache contains a different version of the requested document for each specified parameter. Possible values include "none", "*", and any valid query string or POST parameter name.

Requirements

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