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.​IRequestCookieCollection
Assembly: Microsoft.AspNetCore.Http.Features
Implemented Interfaces
- System.​Collections.​Generic.​IEnumerable`1 (Inherits: IEnumerable)
Represents the HttpRequest cookie collection
Properties
int
Count
Gets the number of elements contained in the <see cref="T:Microsoft.AspNetCore.Http.IRequestCookieCollection" /> .
System.​Collections.​Generic.​ICollection<​string>
Keys
Gets an <see cref="T:System.Collections.Generic.ICollection`1" /> containing the keys of the
<see cref="T:Microsoft.AspNetCore.Http.IRequestCookieCollection" /> .
string
Item
Methods
bool
ContainsKey​(string key)
Determines whether the <see cref="T:Microsoft.AspNetCore.Http.IRequestCookieCollection" /> contains an element
with the specified key.
Returns true if the <see cref="T:Microsoft.AspNetCore.Http.IRequestCookieCollection" /> contains an element with
the key; otherwise, false.
key
The key to locate in the <see cref="T:Microsoft.AspNetCore.Http.IRequestCookieCollection" /> .