CacheTagHelperBase.VaryByCookie Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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