CacheTagHelperBase.VaryByCookie 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定以逗號分隔的 Cookie 名稱集,以變更快取的結果。
public:
property System::String ^ VaryByCookie { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("vary-by-cookie")]
public string VaryByCookie { get; set; }
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("vary-by-cookie")>]
member this.VaryByCookie : string with get, set
Public Property VaryByCookie As String
屬性值
- 屬性