语言

CacheView.VaryByCookie 属性

定义

获取或设置一个逗号分隔的 Cookie 名称列表,以改变缓存。

[Microsoft.AspNetCore.Components.Parameter]
public string? VaryByCookie { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.VaryByCookie : string with get, set
Public Property VaryByCookie As String

属性值

特性

适用于