OutputCacheAttribute.Location Property


Gets or sets the location.

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


public OutputCacheLocation Location { get; set; }
property OutputCacheLocation Location {
    OutputCacheLocation get();
    void set(OutputCacheLocation value);
member Location : OutputCacheLocation with get, set
Public Property Location As OutputCacheLocation

Property Value

Type: System.Web.UI.OutputCacheLocation

The location.


One of the OutputCacheLocation enumeration values. The default is Any.

See Also

OutputCacheAttribute Class
System.Web.Mvc Namespace

Return to top