共用方式為


CoreWebView2CookieManager.DeleteCookies(String, String) Method

Definition

Deletes cookies with matching name and uri.

public void DeleteCookies (string name, string uri);
member this.DeleteCookies : string * string -> unit
Public Sub DeleteCookies (name As String, uri As String)

Parameters

name
String

The name for the cookies to be deleted is required.

uri
String

If uri is specified, deletes all cookies with the given name where domain and path match provided URI.

Applies to