CoreWebView2BrowserExtension.EnableAsync(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets whether this browser extension is enabled or disabled. This change applies immediately to the extension in all HTML documents in all WebView2s associated with this profile. After an extension is removed, calling Enable
will not change the value of IsEnabled
.
public System.Threading.Tasks.Task EnableAsync (bool IsEnabled);
member this.EnableAsync : bool -> System.Threading.Tasks.Task
Public Function EnableAsync (IsEnabled As Boolean) As Task
Parameters
- IsEnabled
- Boolean