This documentation is archived and is not being maintained.

CookieCollection Methods

The CookieCollection type exposes the following members.

Public method Add(Cookie) Adds a Cookie to a CookieCollection.
Public method Add(CookieCollection) Adds the contents of a CookieCollection to the current instance.
Public method CopyTo(Array, Int32) Copies the elements of a CookieCollection to an instance of the Array class, starting at a particular index.
Public method CopyTo(Cookie[], Int32) Copies the elements of this CookieCollection to a Cookie array starting at the specified index of the target array.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Public Extension Method AsParallel Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast<TResult> Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType<TResult> Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)