QueryCollection Class

Definition

The HttpRequest query string collection

public ref class QueryCollection : Microsoft::AspNetCore::Http::IQueryCollection, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::Extensions::Primitives::StringValues>>
public class QueryCollection : Microsoft.AspNetCore.Http.IQueryCollection, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.Extensions.Primitives.StringValues>>
type QueryCollection = class
    interface IQueryCollection
    interface seq<KeyValuePair<string, StringValues>>
    interface IEnumerable
Public Class QueryCollection
Implements IEnumerable(Of KeyValuePair(Of String, StringValues)), IQueryCollection
Inheritance
QueryCollection
Implements

Constructors

QueryCollection()
QueryCollection(Dictionary<String,StringValues>)
QueryCollection(Int32)
QueryCollection(QueryCollection)

Fields

Empty

Properties

Count

Gets the number of elements contained in the QueryCollection;.

Item[String]

Gets the associated set of values from the collection.

Keys

Methods

ContainsKey(String)

Determines whether the QueryCollection contains a specific key.

GetEnumerator()

Returns an enumerator that iterates through a collection.

TryGetValue(String, StringValues)

Retrieves a value from the collection.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<KeyValuePair<String,StringValues>>.GetEnumerator()

Returns an enumerator that iterates through a collection.

Applies to