HttpCookie.Discard Property

Definition

Returns the discard attribute of the cookie -or- Specify whether user agent should discard the cookie unconditionally.

public bool Discard { [Android.Runtime.Register("getDiscard", "()Z", "")] get; [Android.Runtime.Register("setDiscard", "(Z)V", "")] set; }
[<get: Android.Runtime.Register("getDiscard", "()Z", "")>]
[<set: Android.Runtime.Register("setDiscard", "(Z)V", "")>]
member this.Discard : bool with get, set

Property Value

Boolean

a boolean to represent this cookie's discard attribute

Attributes

Remarks

Property getter documentation:

Java documentation for java.net.HttpCookie.getDiscard().

Property setter documentation:

Java documentation for java.net.HttpCookie.setDiscard(boolean).

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