CacheTagHelperBase.VaryBy Property

Definition

Gets or sets a String to vary the cached result by.

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

Property Value

Attributes

Applies to