Add()
Contents
[
Hide
]CookieContainer::Add(System::SharedPtr<Cookie>) method
Adds a cookie to the collection.
void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie)
Arguments
Parameter | Type | Description |
---|---|---|
cookie | System::SharedPtr<Cookie> | The cookie to add. |
CookieContainer::Add(System::SharedPtr<Cookie>, bool) method
Adds a cookie to the collection.
void System::Net::CookieContainer::Add(System::SharedPtr<Cookie> cookie, bool throwOnError)
Arguments
Parameter | Type | Description |
---|---|---|
cookie | System::SharedPtr<Cookie> | The cookie to add. |
throwOnError | bool | A value that indicates if an exception will be thrown when an error occurs. |
CookieContainer::Add(System::SharedPtr<CookieCollection>) method
Copies cookies from the specified collection to the current one.
void System::Net::CookieContainer::Add(System::SharedPtr<CookieCollection> cookies)
Arguments
Parameter | Type | Description |
---|---|---|
cookies | System::SharedPtr<CookieCollection> | The collection from which cookies will be copied. |
CookieContainer::Add(System::SharedPtr<Uri>, System::SharedPtr<Cookie>) method
Adds a cookie for the specified URI.
void System::Net::CookieContainer::Add(System::SharedPtr<Uri> uri, System::SharedPtr<Cookie> cookie)
Arguments
Parameter | Type | Description |
---|---|---|
uri | System::SharedPtr<Uri> | An URI of the cookie. |
cookie | System::SharedPtr<Cookie> | The cookie to add. |
CookieContainer::Add(System::SharedPtr<Uri>, System::SharedPtr<CookieCollection>) method
Copies cookies from the specified collection for the specified URI to the current collection.
void System::Net::CookieContainer::Add(System::SharedPtr<Uri> uri, System::SharedPtr<CookieCollection> cookies)
Arguments
Parameter | Type | Description |
---|---|---|
uri | System::SharedPtr<Uri> | An URI of the cookie. |
cookies | System::SharedPtr<CookieCollection> | A cookie collection from which cookies must be copied. |
See Also
- Typedef SharedPtr
- Class Cookie
- Class CookieContainer
- Class CookieCollection
- Class Uri
- Namespace System::Net
- Library Aspose.Slides