Share via


CoreWebView2Profile.GetBrowserExtensionsAsync Method

Definition

Gets a snapshot of the set of extensions on current user profile.

See CoreWebView2BrowserExtension for descriptions of browser extensions.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.Web.WebView2.Core.CoreWebView2BrowserExtension>> GetBrowserExtensionsAsync ();
member this.GetBrowserExtensionsAsync : unit -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.Web.WebView2.Core.CoreWebView2BrowserExtension>>
Public Function GetBrowserExtensionsAsync () As Task(Of IReadOnlyList(Of CoreWebView2BrowserExtension))

Returns

Remarks

Gets a snapshot of the set of extensions installed at the time GetBrowserExtensions is called. If an extension is installed or uninstalled after GetBrowserExtensions completes, the list returned by GetBrowserExtensions remains the same. When AreBrowserExtensionsEnabled is false, GetBrowserExtensions won't return any extensions on current user profile.

Applies to