共用方式為


QueryString.Create 方法

定義

多載

Create(IEnumerable<KeyValuePair<String,StringValues>>)

建立由指定名稱值組所組成的查詢字串。

Create(IEnumerable<KeyValuePair<String,String>>)

建立由指定名稱值組所組成的查詢字串。

Create(String, String)

建立具有單一指定參數名稱和值的查詢字串。

Create(IEnumerable<KeyValuePair<String,StringValues>>)

來源:
QueryString.cs
來源:
QueryString.cs
來源:
QueryString.cs

建立由指定名稱值組所組成的查詢字串。

public:
 static Microsoft::AspNetCore::Http::QueryString Create(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::Extensions::Primitives::StringValues>> ^ parameters);
public static Microsoft.AspNetCore.Http.QueryString Create (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.Extensions.Primitives.StringValues>> parameters);
static member Create : seq<System.Collections.Generic.KeyValuePair<string, Microsoft.Extensions.Primitives.StringValues>> -> Microsoft.AspNetCore.Http.QueryString
Public Shared Function Create (parameters As IEnumerable(Of KeyValuePair(Of String, StringValues))) As QueryString

參數

傳回

結果的 QueryString

適用於

Create(IEnumerable<KeyValuePair<String,String>>)

來源:
QueryString.cs
來源:
QueryString.cs
來源:
QueryString.cs

建立由指定名稱值組所組成的查詢字串。

public:
 static Microsoft::AspNetCore::Http::QueryString Create(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> ^ parameters);
public static Microsoft.AspNetCore.Http.QueryString Create (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> parameters);
public static Microsoft.AspNetCore.Http.QueryString Create (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string?>> parameters);
static member Create : seq<System.Collections.Generic.KeyValuePair<string, string>> -> Microsoft.AspNetCore.Http.QueryString
Public Shared Function Create (parameters As IEnumerable(Of KeyValuePair(Of String, String))) As QueryString

參數

傳回

結果的 QueryString

適用於

Create(String, String)

來源:
QueryString.cs
來源:
QueryString.cs
來源:
QueryString.cs

建立具有單一指定參數名稱和值的查詢字串。

public:
 static Microsoft::AspNetCore::Http::QueryString Create(System::String ^ name, System::String ^ value);
public static Microsoft.AspNetCore.Http.QueryString Create (string name, string value);
static member Create : string * string -> Microsoft.AspNetCore.Http.QueryString
Public Shared Function Create (name As String, value As String) As QueryString

參數

name
String

未編碼的參數名稱

value
String

未編碼的參數值

傳回

結果的 QueryString

適用於