Partager via


ISetCookie.SetExpiryDate(Date) Method

Definition

Sets expiration date.

[Android.Runtime.Register("setExpiryDate", "(Ljava/util/Date;)V", "GetSetExpiryDate_Ljava_util_Date_Handler:Org.Apache.Http.Cookies.ISetCookieInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetExpiryDate (Java.Util.Date? expiryDate);
[<Android.Runtime.Register("setExpiryDate", "(Ljava/util/Date;)V", "GetSetExpiryDate_Ljava_util_Date_Handler:Org.Apache.Http.Cookies.ISetCookieInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetExpiryDate : Java.Util.Date -> unit

Parameters

expiryDate
Date

the Date after which this cookie is no longer valid.

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

See also