Dela via


ResponseCacheAttribute.NoStore Property

Definition

Gets or sets the value which determines whether the data should be stored or not. When set to true, it sets "Cache-control" header to "no-store". Ignores the "Location" parameter for values other than "None". Ignores the "duration" parameter.

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

Property Value

Applies to