QueryString.Create Method

Definition

Overloads

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

Creates a query string composed from the given name value pairs.

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

Creates a query string composed from the given name value pairs.

Create(String, String)

Create a query string with a single given parameter name and value.

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

Source:
QueryString.cs
Source:
QueryString.cs

Creates a query string composed from the given name value pairs.

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

Parameters

Returns

The resulting QueryString

Applies to

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

Source:
QueryString.cs
Source:
QueryString.cs

Creates a query string composed from the given name value pairs.

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

Parameters

Returns

The resulting QueryString

Applies to

Create(String, String)

Source:
QueryString.cs
Source:
QueryString.cs

Create a query string with a single given parameter name and value.

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

Parameters

name
String

The un-encoded parameter name

value
String

The un-encoded parameter value

Returns

The resulting QueryString

Applies to