CacheTagHelperBase.VaryByCookie Propriété

Définition

Obtient ou définit un ensemble de noms de cookies délimités par des virgules pour faire varier le résultat mis en cache.

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

Valeur de propriété

Attributs

S’applique à