System.Net.CookieCollection.Add Method

Adds the contents of a System.Net.CookieCollection to the current instance.

Syntax

public void Add (CookieCollection cookies)

Parameters

cookies
The System.Net.CookieCollection to be added.

Remarks

Each System.Net.Cookie is read from the System.Net.CookieCollection cookies parameter and added to the current instance.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0