HttpCacheVaryByParams.IgnoreParams Property

 

Gets or sets a value indicating whether an HTTP response varies by Get or Post parameters.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public bool IgnoreParams { get; set; }

Property Value

Type: System.Boolean

true if HTTP request parameters are ignored; otherwise, false.

Setting the IgnoreParams property to true is equivalent to setting the @ OutputCache directive VaryByParams attribute to "none" for the resource.

.NET Framework
Available since 1.1
Return to top
Show: