CacheTagHelperBase.ExpiresAfter Property

Definition

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

Applies to