共用方式為


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

屬性值

屬性

適用於