Windows apps
Collapse the table of content
Expand the table of content
Information
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.

CookieContainer::Add Method

 

Adds a Cookie to a CookieContainer.

Namespace:   System.Net
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodAdd(Cookie^)

Adds a Cookie to a CookieContainer. This method uses the domain from the Cookie to determine which domain collection to associate the Cookie with.

System_CAPS_pubmethodAdd(CookieCollection^)

Adds the contents of a CookieCollection to the CookieContainer.

System_CAPS_pubmethodAdd(Uri^, Cookie^)

Adds a Cookie to the CookieContainer for a particular URI.

System_CAPS_pubmethodAdd(Uri^, CookieCollection^)

Adds the contents of a CookieCollection to the CookieContainer for a particular URI.

Return to top
Show:
© 2017 Microsoft