共用方式為


NavigationManagerExtensions.GetUriWithQueryParameters 方法

定義

多載

GetUriWithQueryParameters(NavigationManager, IReadOnlyDictionary<String,Object>)

傳回從 Uri 建構的 URI,其中已新增、更新或移除多個參數。

GetUriWithQueryParameters(NavigationManager, String, IReadOnlyDictionary<String,Object>)

傳回從 uri 建構的 URI,但加入、更新或移除多個參數除外。

GetUriWithQueryParameters(NavigationManager, IReadOnlyDictionary<String,Object>)

來源:
NavigationManagerExtensions.cs
來源:
NavigationManagerExtensions.cs
來源:
NavigationManagerExtensions.cs
來源:
NavigationManagerExtensions.cs

傳回從 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

NavigationManager

parameters
IReadOnlyDictionary<String,Object>

要加入、更新或移除的值。

傳回

適用於

GetUriWithQueryParameters(NavigationManager, String, IReadOnlyDictionary<String,Object>)

來源:
NavigationManagerExtensions.cs
來源:
NavigationManagerExtensions.cs
來源:
NavigationManagerExtensions.cs
來源:
NavigationManagerExtensions.cs

傳回從 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

NavigationManager

uri
String

具有要修改之查詢的 URI。

parameters
IReadOnlyDictionary<String,Object>

要加入、更新或移除的值。

傳回

適用於