共用方式為


CoreWebView2.ShowSaveAsUIAsync Method

Definition

Async method to programmatically trigger a Save As action for the currently loaded document.

public System.Threading.Tasks.Task<Microsoft.Web.WebView2.Core.CoreWebView2SaveAsUIResult> ShowSaveAsUIAsync ();
member this.ShowSaveAsUIAsync : unit -> System.Threading.Tasks.Task<Microsoft.Web.WebView2.Core.CoreWebView2SaveAsUIResult>
Public Function ShowSaveAsUIAsync () As Task(Of CoreWebView2SaveAsUIResult)

Returns

Remarks

It opens a system modal dialog by default. If the SuppressDefaultDialog property is TRUE, the system dialog is not opened. This method can return CoreWebView2SaveAsUIResult.

Applies to