This documentation is archived and is not being maintained.
.NET Framework 2.0
Provides a collection container for instances of the Cookie class.
The following tables list the members exposed by the CookieCollection type.
|Count||Gets the number of cookies contained in a CookieCollection.|
|IsReadOnly||Gets a value that indicates whether a CookieCollection is read-only.|
|IsSynchronized||Gets a value that indicates whether access to a CookieCollection is thread safe.|
|Item||Overloaded. Gets a specific Cookie from a CookieCollection.|
|SyncRoot||Gets an object that you can use to synchronize access to the CookieCollection.|
(see also Protected Methods )
|Add||Overloaded. Adds a Cookie to a CookieCollection.|
|CopyTo||Overloaded. Copies the elements of this CookieCollection to the specified destination array.|
|Equals||Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)|
|GetEnumerator||Gets an enumerator that can iterate through a CookieCollection.|
|GetHashCode||Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|ReferenceEquals||Determines whether the specified Object instances are the same instance. (Inherited from Object.)|
|ToString||Returns a String that represents the current Object. (Inherited from Object.)|