Share via


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

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
Public Property Expires As Nullable(Of Date)

Property Value

Type: System.Nullable<DateTime>

The expiration date and time for the cookie.

See Also

CookieOptions Class
Microsoft.Owin Namespace

Return to top