共用方式為


CacheTagHelperBase.VaryByRoute 屬性

定義

取得或設定以逗號分隔的路由資料參數集,以變更快取的結果。

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

屬性值

屬性

適用於