CacheTagHelperBase.VaryByUser Property

Definition

Gets or sets a value that determines if the cached result is to be varied by the Identity for the logged in User.

public:
 property bool VaryByUser { bool get(); void set(bool value); };
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("vary-by-user")]
public bool VaryByUser { get; set; }
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("vary-by-user")>]
member this.VaryByUser : bool with get, set
Public Property VaryByUser As Boolean

Property Value

Attributes

Applies to