This documentation is archived and is not being maintained.

CookieContainer Constructor

.NET Framework 1.1

Initializes a new instance of the CookieContainer class.

Overload List

Initializes a new instance of the CookieContainer class.

[Visual Basic] Public Sub New()
[C#] public CookieContainer();
[C++] public: CookieContainer();
[JScript] public function CookieContainer();

Initializes a new instance of the CookieContainer class with a specified value for the number of Cookie instances the container can hold.

[Visual Basic] Public Sub New(Integer)
[C#] public CookieContainer(int);
[C++] public: CookieContainer(int);
[JScript] public function CookieContainer(int);

Initializes a new instance of the CookieContainer class with specific properties.

[Visual Basic] Public Sub New(Integer, Integer, Integer)
[C#] public CookieContainer(int, int, int);
[C++] public: CookieContainer(int, int, int);
[JScript] public function CookieContainer(int, int, int);

See Also

CookieContainer Class | CookieContainer Members | System.Net Namespace

Show: