QueryCollection QueryCollection QueryCollection QueryCollection Class

Definition

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
QueryCollectionQueryCollectionQueryCollectionQueryCollection
Implements

Constructors

QueryCollection() QueryCollection() QueryCollection() QueryCollection()
QueryCollection(QueryCollection) QueryCollection(QueryCollection) QueryCollection(QueryCollection) QueryCollection(QueryCollection)
QueryCollection(Dictionary<String,StringValues>) QueryCollection(Dictionary<String,StringValues>) QueryCollection(Dictionary<String,StringValues>) QueryCollection(Dictionary<String,StringValues>)
QueryCollection(Int32) QueryCollection(Int32) QueryCollection(Int32) QueryCollection(Int32)

Fields

Empty Empty Empty Empty

Properties

Count Count Count Count

Gets the number of elements contained in the QueryCollection;.

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

Get or sets the associated value from the collection as a single string.

Keys Keys Keys Keys

Methods

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

Determines whether the QueryCollection contains a specific key.

GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that iterates through a collection.

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

Retrieves a value from the collection.

Explicit Interface Implementations

IEnumerable<KeyValuePair<String,StringValues>>.GetEnumerator() IEnumerable<KeyValuePair<String,StringValues>>.GetEnumerator() IEnumerable<KeyValuePair<String,StringValues>>.GetEnumerator() IEnumerable<KeyValuePair<String,StringValues>>.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

Applies to