共用方式為


CoreWebView2DownloadOperation.Cancel Method

Definition

Cancels the download.

public void Cancel ();
member this.Cancel : unit -> unit
Public Sub Cancel ()

Remarks

If canceled, the default download dialog shows that the download was canceled. Host should use Cancel if download should be canceled without displaying the default download dialog.

Applies to