Lue englanniksi

Jaa


IQueryCollection Interface

Definition

Represents the HttpRequest query string collection

C#
public interface IQueryCollection : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.Extensions.Primitives.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

Tuote Versiot
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0