Sdílet prostřednictvím


OutputCacheAttribute.Location Property

Gets or sets the location.

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

Syntax

'Declaration
Public Property Location As OutputCacheLocation
    Get
    Set
public OutputCacheLocation Location { get; set; }
public:
property OutputCacheLocation Location {
    OutputCacheLocation get ();
    void set (OutputCacheLocation value);
}

Property Value

Type: System.Web.UI.OutputCacheLocation
The location.

Remarks

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

See Also

Reference

OutputCacheAttribute Class

System.Web.Mvc Namespace