The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
CookieCollection::Add Method (CookieCollection^)
.NET Framework (current version)
Adds the contents of a CookieCollection to the current instance.
Assembly: System (in System.dll)
Parameters
- cookies
-
Type:
System.Net::CookieCollection^
The CookieCollection to be added.
| Exception | Condition |
|---|---|
| ArgumentNullException | cookies is null. |
Each Cookie is read from the CookieCollectioncookies parameter and added to the current instance.
Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show: