CookieOptions.Expires Property
Gets or sets the expiration date and time for the cookie.
Namespace: Microsoft.Owin
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
'Declaration
Public Property Expires As Nullable(Of DateTime)
Get
Set
'Usage
Dim instance As CookieOptions
Dim value As Nullable(Of DateTime)
value = instance.Expires
instance.Expires = value
public Nullable<DateTime> Expires { get; set; }
public:
property Nullable<DateTime> Expires {
Nullable<DateTime> get ();
void set (Nullable<DateTime> value);
}
member Expires : Nullable<DateTime> with get, set
function get Expires () : Nullable<DateTime>
function set Expires (value : Nullable<DateTime>)
Property Value
Type: System.Nullable<DateTime>
The expiration date and time for the cookie.