CacheTagHelperBase.ExpiresAfter Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the duration, from the time the cache entry was added, when it should be evicted.
public:
property Nullable<TimeSpan> ExpiresAfter { Nullable<TimeSpan> get(); void set(Nullable<TimeSpan> value); };
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("expires-after")]
public TimeSpan? ExpiresAfter { get; set; }
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("expires-after")>]
member this.ExpiresAfter : Nullable<TimeSpan> with get, set
Public Property ExpiresAfter As Nullable(Of TimeSpan)
Property Value
- Attributes