Поделиться через


OutputCacheAttribute.NoStore Property

Gets or sets a value that indicates whether to store the cache.

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

Syntax

'Declaration
Public Property NoStore As Boolean
    Get
    Set
public bool NoStore { get; set; }
public:
property bool NoStore {
    bool get ();
    void set (bool value);
}

Property Value

Type: System.Boolean
true if the cache should be stored; otherwise, false.

Remarks

A value that determines whether to prevent secondary storage of the cached information.

See Also

Reference

OutputCacheAttribute Class

System.Web.Mvc Namespace