Share via


ICookieStore.AddCookie(ICookie) Method

Definition

Adds an ICookie, replacing any existing equivalent cookies.

[Android.Runtime.Register("addCookie", "(Lorg/apache/http/cookie/Cookie;)V", "GetAddCookie_Lorg_apache_http_cookie_Cookie_Handler:Org.Apache.Http.Client.ICookieStoreInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void AddCookie (Org.Apache.Http.Cookies.ICookie? cookie);
[<Android.Runtime.Register("addCookie", "(Lorg/apache/http/cookie/Cookie;)V", "GetAddCookie_Lorg_apache_http_cookie_Cookie_Handler:Org.Apache.Http.Client.ICookieStoreInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member AddCookie : Org.Apache.Http.Cookies.ICookie -> unit

Parameters

cookie
ICookie

the ICookie to be added

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to