CacheTagHelperBase.VaryByUser 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 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