CacheTagHelperBase.VaryByQuery Property

Definition

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

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

Property Value

Attributes

Applies to