CacheTagHelperBase.ExpiresOn Property

Definition

Gets or sets the exact DateTimeOffset the cache entry should be evicted.

public:
 property Nullable<DateTimeOffset> ExpiresOn { Nullable<DateTimeOffset> get(); void set(Nullable<DateTimeOffset> value); };
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("expires-on")]
public DateTimeOffset? ExpiresOn { get; set; }
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("expires-on")>]
member this.ExpiresOn : Nullable<DateTimeOffset> with get, set
Public Property ExpiresOn As Nullable(Of DateTimeOffset)

Property Value

Attributes

Applies to