Condividi tramite


CacheTagHelperBase.ExpiresAfter Proprietà

Definizione

Ottiene o imposta la durata, dal momento in cui è stata aggiunta la voce della cache, quando deve essere rimossa.

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)

Valore della proprietà

Attributi

Si applica a