CacheTagHelperBase.VaryByCookie Property

Definition

Gets or sets a comma-delimited set of cookie names to vary the cached result by.

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

Property Value

Attributes

Applies to