共用方式為


CoreWebView2BrowserExtension.RemoveAsync Method

Definition

Removes this browser extension from its WebView2 Profile. The browser extension is removed immediately including from all currently running HTML documents associated with this WebView2 Profile. The removal is persisted and future uses of this profile will not have this extension installed. After an extension is removed, calling Remove again will cause an exception.

public System.Threading.Tasks.Task RemoveAsync ();
member this.RemoveAsync : unit -> System.Threading.Tasks.Task
Public Function RemoveAsync () As Task

Returns

Applies to