BasicClientCookie2.SetDiscard(Boolean) Method

Definition

Sets whether the cookie is discarded when the current session ends.

[Android.Runtime.Register("setDiscard", "(Z)V", "GetSetDiscard_ZHandler")]
public virtual void SetDiscard(bool discard);
[<Android.Runtime.Register("setDiscard", "(Z)V", "GetSetDiscard_ZHandler")>]
abstract member SetDiscard : bool -> unit
override this.SetDiscard : bool -> unit

Parameters

discard
Boolean

Whether the cookie must be discarded when the current session ends.

Implements

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