Dela via


QueryCollection Constructors

Definition

Overloads

QueryCollection()

Initializes a new instance of QueryCollection.

QueryCollection(QueryCollection)

Creates a shallow copy of the specified store.

QueryCollection(Dictionary<String,StringValues>)

Initializes a new instance of QueryCollection.

QueryCollection(Int32)

Initializes a new instance of QueryCollection.

QueryCollection()

Source:
QueryCollection.cs

Initializes a new instance of QueryCollection.

public:
 QueryCollection();
public QueryCollection ();
Public Sub New ()

Applies to

QueryCollection(QueryCollection)

Source:
QueryCollection.cs

Creates a shallow copy of the specified store.

public:
 QueryCollection(Microsoft::AspNetCore::Http::QueryCollection ^ store);
public QueryCollection (Microsoft.AspNetCore.Http.QueryCollection store);
new Microsoft.AspNetCore.Http.QueryCollection : Microsoft.AspNetCore.Http.QueryCollection -> Microsoft.AspNetCore.Http.QueryCollection
Public Sub New (store As QueryCollection)

Parameters

store
QueryCollection

The QueryCollection to clone.

Applies to

QueryCollection(Dictionary<String,StringValues>)

Source:
QueryCollection.cs

Initializes a new instance of QueryCollection.

public:
 QueryCollection(System::Collections::Generic::Dictionary<System::String ^, Microsoft::Extensions::Primitives::StringValues> ^ store);
public QueryCollection (System.Collections.Generic.Dictionary<string,Microsoft.Extensions.Primitives.StringValues> store);
new Microsoft.AspNetCore.Http.QueryCollection : System.Collections.Generic.Dictionary<string, Microsoft.Extensions.Primitives.StringValues> -> Microsoft.AspNetCore.Http.QueryCollection
Public Sub New (store As Dictionary(Of String, StringValues))

Parameters

store
Dictionary<String,StringValues>

The backing store.

Applies to

QueryCollection(Int32)

Source:
QueryCollection.cs

Initializes a new instance of QueryCollection.

public:
 QueryCollection(int capacity);
public QueryCollection (int capacity);
new Microsoft.AspNetCore.Http.QueryCollection : int -> Microsoft.AspNetCore.Http.QueryCollection
Public Sub New (capacity As Integer)

Parameters

capacity
Int32

The initial number of query items that this instance can contain.

Applies to