CookieCollection Class
Provides a collection container for instances of the Cookie class.
For a list of all members of this type, see CookieCollection Members.
System.Object
System.Net.CookieCollection
[Visual Basic] <Serializable> Public Class CookieCollection Implements ICollection, IEnumerable [C#] [Serializable] public class CookieCollection : ICollection, IEnumerable [C++] [Serializable] public __gc class CookieCollection : public ICollection, IEnumerable [JScript] public Serializable class CookieCollection implements ICollection, IEnumerable
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
The CookieCollection class implements an ICollection interface to provide a general mechanism for handling collections of cookies. For example, this is useful in the case where an application is designed to store cookies for multiple servers.
Requirements
Namespace: System.Net
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System (in System.dll)
See Also
CookieCollection Members | System.Net Namespace | Cookie | CookieCollection | CookieContainer | CookieException | ICollection