This documentation is archived and is not being maintained.

HttpCookieCollection Properties

The HttpCookieCollection type exposes the following members.

  NameDescription
Public property AllKeys Gets a string array containing all the keys (cookie names) in the cookie collection.
Public property Count Gets the number of key/value pairs contained in the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.)
Protected property IsReadOnly Gets or sets a value indicating whether the NameObjectCollectionBase instance is read-only. (Inherited from NameObjectCollectionBase.)
Public property Item[Int32] Gets the cookie with the specified numerical index from the cookie collection.
Public property Item[String] Gets the cookie with the specified name from the cookie collection.
Public property Keys Gets a NameObjectCollectionBase::KeysCollection instance that contains all the keys in the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.)
Top

  NameDescription
Explicit interface implemetation Private property ICollection::IsSynchronized Gets a value indicating whether access to the NameObjectCollectionBase object is synchronized (thread safe). (Inherited from NameObjectCollectionBase.)
Explicit interface implemetation Private property ICollection::SyncRoot Gets an object that can be used to synchronize access to the NameObjectCollectionBase object. (Inherited from NameObjectCollectionBase.)
Top
Show: