OutputCacheAttribute.Location Property

 

Gets or sets the location.

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

Syntax

public OutputCacheLocation Location { get; set; }
public:
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.

Remarks

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

See Also

OutputCacheAttribute Class
System.Web.Mvc Namespace

Return to top