CacheView.VaryByCookie 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个逗号分隔的 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
属性值
- 特性