CookieCollection Members

Provides a collection container for instances of the Cookie class.

The following tables list the members exposed by the CookieCollection type.

  Name Description
Public method CookieCollection Initializes a new instance of the CookieCollection class.

  Name Description
Public property Count Gets the number of cookies contained in a CookieCollection.
Public property IsReadOnly Gets a value that indicates whether a CookieCollection is read-only.
Public property IsSynchronized Gets a value that indicates whether access to a CookieCollection is thread safe.
Public property Item Overloaded. Gets a specific Cookie from a CookieCollection.
Public property SyncRoot Gets an object that you can use to synchronize access to the CookieCollection.

(see also Protected Methods )
  Name Description
Public method Add Overloaded. Adds a Cookie to a CookieCollection.
Public method CopyTo Overloaded. Copies the elements of this CookieCollection to the specified destination array.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetEnumerator Gets an enumerator that can iterate through a CookieCollection.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Community Additions