Compartir a través de


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

a boolean to represent this cookie's discard attribute

Attributes

Remarks

Property getter documentation:

Returns the discard attribute of the cookie

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

Property setter documentation:

Specify whether user agent should discard the cookie unconditionally. This is RFC 2965 only attribute.

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