NavigationManagerExtensions.GetUriWithQueryParameters 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetUriWithQueryParameters(NavigationManager, IReadOnlyDictionary<String,Object>) |
傳回從 Uri 建構的 URI,其中已新增、更新或移除多個參數。 |
GetUriWithQueryParameters(NavigationManager, String, IReadOnlyDictionary<String,Object>) |
傳回從 |
GetUriWithQueryParameters(NavigationManager, IReadOnlyDictionary<String,Object>)
傳回從 Uri 建構的 URI,其中已新增、更新或移除多個參數。
public static string GetUriWithQueryParameters (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, System.Collections.Generic.IReadOnlyDictionary<string,object?> parameters);
static member GetUriWithQueryParameters : Microsoft.AspNetCore.Components.NavigationManager * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> string
<Extension()>
Public Function GetUriWithQueryParameters (navigationManager As NavigationManager, parameters As IReadOnlyDictionary(Of String, Object)) As String
參數
- navigationManager
- NavigationManager
- parameters
- IReadOnlyDictionary<String,Object>
要加入、更新或移除的值。
傳回
適用於
GetUriWithQueryParameters(NavigationManager, String, IReadOnlyDictionary<String,Object>)
傳回從 uri
建構的 URI,但加入、更新或移除多個參數除外。
public static string GetUriWithQueryParameters (this Microsoft.AspNetCore.Components.NavigationManager navigationManager, string uri, System.Collections.Generic.IReadOnlyDictionary<string,object?> parameters);
static member GetUriWithQueryParameters : Microsoft.AspNetCore.Components.NavigationManager * string * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> string
<Extension()>
Public Function GetUriWithQueryParameters (navigationManager As NavigationManager, uri As String, parameters As IReadOnlyDictionary(Of String, Object)) As String
參數
- navigationManager
- NavigationManager
- uri
- String
具有要修改之查詢的 URI。
- parameters
- IReadOnlyDictionary<String,Object>
要加入、更新或移除的值。