Add Method
Collapse the table of content
Expand the table of content

CookieContainer.Add Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Adds a cookie or a cookie collection to this CookieContainer.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Add(Uri, Cookie) Adds the specified Cookie with the specified Uniform Resource Identifier (URI) to this CookieContainer.
Public method Add(Uri, CookieCollection) Adds the contents of the specified CookieCollection with the specified Uniform Resource Identifier (URI) to this CookieContainer.
Top

Show:
© 2017 Microsoft