QueryCollection Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Query |
Initializes a new instance of QueryCollection. |
Query |
Initializes a new instance of QueryCollection. |
Query |
Initializes a new instance of QueryCollection. |
Query |
Creates a shallow copy of the specified |
Empty |
Gets an empty QueryCollection. |
Count |
Gets the number of elements contained in the QueryCollection;. |
Item[String] |
Gets the associated set of values from the collection. |
Keys |
Gets the collection of query names in this instance. |
Contains |
Determines whether the QueryCollection contains a specific key. |
Get |
Returns an enumerator that iterates through a collection. |
Try |
Retrieves a value from the collection. |
IEnumerable. |
Returns an enumerator that iterates through a collection. |
IEnumerable<Key |
Returns an enumerator that iterates through a collection. |
Product | Versions |
---|---|
ASP.NET Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |