共用方式為


CoreWebView2Cookie.ToSystemNetCookie Method

Definition

Converts this to a System.Net.Cookie.

public System.Net.Cookie ToSystemNetCookie ();
member this.ToSystemNetCookie : unit -> System.Net.Cookie
Public Function ToSystemNetCookie () As Cookie

Returns

An object whose Name, Value, Path, Domain, HttpOnly, Secure, and Expires, matches those Name, Value, Path, Domain, IsHttpOnly, IsSecure, and Expires of this CoreWebView2Cookie object.

Remarks

The values of the Cookie properties other than those specified above remain their default values.

Applies to

See also