Language

CacheView.VaryByRoute Property

Definition

Gets or sets a comma-separated list of route parameter names to vary the cache by.

[Microsoft.AspNetCore.Components.Parameter]
public string? VaryByRoute { get; set; }
[<Microsoft.AspNetCore.Components.Parameter>]
member this.VaryByRoute : string with get, set
Public Property VaryByRoute As String

Property Value

Attributes

Applies to