语言

CacheView.ExpiresOn 属性

定义

获取或设置应逐出缓存项时的绝对 DateTimeOffset 值。

[Microsoft.AspNetCore.Components.Parameter]
public DateTimeOffset? ExpiresOn { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.ExpiresOn : Nullable<DateTimeOffset> with get, set
Public Property ExpiresOn As Nullable(Of DateTimeOffset)

属性值

特性

适用于