Udostępnij za pośrednictwem


ICookieStore.Remove(URI, HttpCookie) Method

Definition

Remove a cookie from store.

[Android.Runtime.Register("remove", "(Ljava/net/URI;Ljava/net/HttpCookie;)Z", "GetRemove_Ljava_net_URI_Ljava_net_HttpCookie_Handler:Java.Net.ICookieStoreInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool Remove (Java.Net.URI? uri, Java.Net.HttpCookie? cookie);
[<Android.Runtime.Register("remove", "(Ljava/net/URI;Ljava/net/HttpCookie;)Z", "GetRemove_Ljava_net_URI_Ljava_net_HttpCookie_Handler:Java.Net.ICookieStoreInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Remove : Java.Net.URI * Java.Net.HttpCookie -> bool

Parameters

uri
URI

the uri this cookie associated with. if null, the cookie to be removed is not associated with an URI when added; if not null, the cookie to be removed is associated with the given URI when added.

cookie
HttpCookie

the cookie to remove

Returns

true if this store contained the specified cookie

Attributes

Remarks

Remove a cookie from store.

Java documentation for java.net.CookieStore.remove(java.net.URI, java.net.HttpCookie).

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