Udostępnij za pośrednictwem


CacheTagHelperBase.ExpiresAfter Właściwość

Definicja

Pobiera lub ustawia czas trwania od momentu dodania wpisu pamięci podręcznej, kiedy powinien zostać wykluczony.

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)

Wartość właściwości

Atrybuty

Dotyczy