Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Microsoft.​AspNetCore.​Http.​IQueryCollection

Assembly: Microsoft.AspNetCore.Http.Features

Implemented Interfaces

Represents the HttpRequest query string collection

Properties

int
Count
Gets the number of elements contained in the <see cref="T:Microsoft.AspNetCore.Http.IQueryCollection" /> .
Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the <see cref="T:Microsoft.AspNetCore.Http.IQueryCollection" /> .

Methods

bool
ContainsKey​(string key)
Determines whether the <see cref="T:Microsoft.AspNetCore.Http.IQueryCollection" /> contains an element with the specified key.
Returns true if the <see cref="T:Microsoft.AspNetCore.Http.IQueryCollection" /> contains an element with the key; otherwise, false.
key The key to locate in the <see cref="T:Microsoft.AspNetCore.Http.IQueryCollection" /> .
bool
TryGetValue​(string key, Extensions.​Primitives.​StringValues& value)