Export (0) Print
Expand All

OutputCacheAttribute.VaryByHeader Property

.NET Framework 4

Gets or sets the vary-by-header value.

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

public string VaryByHeader { get; set; }

Property Value

Type: System.String
The vary-by-header value.

A semicolon-separated list of HTTP headers that are used to vary the output cache.

Community Additions

ADD
Show:
© 2014 Microsoft