QueryString.Create Метод

Определение

Перегрузки

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

Создает строку запроса, состоящую из пар заданных значений имени.

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

Создает строку запроса, состоящую из пар заданных значений имени.

Create(String, String)

Создайте строку запроса с одним заданным именем и значением параметра.

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

Исходный код:
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

Создает строку запроса, состоящую из пар заданных значений имени.

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

Создайте строку запроса с одним заданным именем и значением параметра.

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

Применяется к