HttpCookieCollection Properties
.NET Framework 4.5
The HttpCookieCollection type exposes the following members.
| Name | Description | |
|---|---|---|
|
AllKeys | Gets a string array containing all the keys (cookie names) in the cookie collection. |
|
Count | Gets the number of key/value pairs contained in the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.) |
|
Item[Int32] | Gets the cookie with the specified numerical index from the cookie collection. |
|
Item[String] | Gets the cookie with the specified name from the cookie collection. |
|
Keys | Gets a NameObjectCollectionBase.KeysCollection instance that contains all the keys in the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.) |
| Name | Description | |
|---|---|---|
|
ICollection.IsSynchronized | Gets a value indicating whether access to the NameObjectCollectionBase object is synchronized (thread safe). (Inherited from NameObjectCollectionBase.) |
|
ICollection.SyncRoot | Gets an object that can be used to synchronize access to the NameObjectCollectionBase object. (Inherited from NameObjectCollectionBase.) |