IQueryCollection IQueryCollection IQueryCollection Interface

Definition

Represents the HttpRequest query string collection

public interface IQueryCollection : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.Extensions.Primitives.StringValues>>
type IQueryCollection = interface
    interface seq<KeyValuePair<string, StringValues>>
    interface IEnumerable
Public Interface IQueryCollection
Implements IEnumerable(Of KeyValuePair(Of String, StringValues))
Derived
Implements

Properties

Count Count Count

Gets the number of elements contained in the IQueryCollection.

Item[String] Item[String] Item[String]

Gets the value with the specified key.

Keys Keys Keys

Gets an ICollection<T> containing the keys of the IQueryCollection.

Methods

ContainsKey(String) ContainsKey(String) ContainsKey(String)

Determines whether the IQueryCollection contains an element with the specified key.

TryGetValue(String, StringValues) TryGetValue(String, StringValues) TryGetValue(String, StringValues)

Gets the value associated with the specified key.

Applies to