CacheTagHelperBase.VaryBy 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 String to vary the cached result by.
public:
property System::String ^ VaryBy { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("vary-by")]
public string VaryBy { get; set; }
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("vary-by")>]
member this.VaryBy : string with get, set
Public Property VaryBy As String
Property Value
- Attributes