Udostępnij za pośrednictwem


CacheTagHelperBase.ExpiresOn Właściwość

Definicja

Pobiera lub ustawia dokładnie DateTimeOffset wpis pamięci podręcznej powinien zostać wykluczony.

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)

Wartość właściwości

Atrybuty

Dotyczy