CookieOptions.Expires Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the expiration date and time for the cookie.
public:
property Nullable<DateTimeOffset> Expires { Nullable<DateTimeOffset> get(); void set(Nullable<DateTimeOffset> value); };
public DateTimeOffset? Expires { get; set; }
member this.Expires : Nullable<DateTimeOffset> with get, set
Public Property Expires As Nullable(Of DateTimeOffset)
Property Value
The expiration date and time for the cookie.