CacheTagHelperBase.VaryByCulture Property

Definition

Gets or sets a value that determines if the cached result is to be varied by request culture.

Setting this to true would result in the result to be varied by CurrentCulture and CurrentUICulture.

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

Property Value

Attributes

Applies to