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

public bool NoStore { get; set; }
public:
property bool NoStore {
    bool get();
    void set(bool value);
}
member NoStore : bool with get, set
Public Property NoStore As Boolean

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

OutputCacheAttribute Class
System.Web.Mvc Namespace

Return to top