CacheTagHelperBase.VaryByRoute Property

Definition

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

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

Property Value

Attributes

Applies to