CacheTagHelperBase.VaryBy Propriété

Définition

Obtient ou définit un String pour faire varier le résultat mis en cache par.

public:
 property System::String ^ VaryBy { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("vary-by")]
public string VaryBy { get; set; }
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("vary-by")>]
member this.VaryBy : string with get, set
Public Property VaryBy As String

Valeur de propriété

Attributs

S’applique à