共用方式為


CoreWebView2Cookie.Expires Property

Definition

The expiration date and time for the cookie since the UNIX epoch.

public DateTime Expires { get; set; }
public double Expires { get; set; }
member this.Expires : DateTime with get, set
member this.Expires : double with get, set
Public Property Expires As DateTime
Public Property Expires As Double

Property Value

Remarks

Setting the Expires property to MinValue makes this a session cookie, which is its default value.

Applies to