CacheTagHelperBase.VaryByRoute Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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