Share via


IQueryCollection Interface

Definition

Represents the HttpRequest query string collection

public interface class IQueryCollection : System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::Extensions::Primitives::StringValues>>
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

Gets the number of elements contained in the IQueryCollection.

Item[String]

Gets the value with the specified key.

Keys

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

Methods

ContainsKey(String)

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

TryGetValue(String, StringValues)

Gets the value associated with the specified key.

Applies to