CacheTagHelperBase.VaryByQuery 属性

定义

获取或设置一组逗号分隔的查询参数,以更改缓存的结果。

public:
 property System::String ^ VaryByQuery { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("vary-by-query")]
public string VaryByQuery { get; set; }
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("vary-by-query")>]
member this.VaryByQuery : string with get, set
Public Property VaryByQuery As String

属性值

属性

适用于