Compartir a través de


CoreWebView2.GetFaviconAsync(CoreWebView2FaviconImageFormat) Method

Definition

Get the downloaded Favicon image for the current page and copy it to the image stream.

public System.Threading.Tasks.Task<System.IO.Stream> GetFaviconAsync (Microsoft.Web.WebView2.Core.CoreWebView2FaviconImageFormat format);
member this.GetFaviconAsync : Microsoft.Web.WebView2.Core.CoreWebView2FaviconImageFormat -> System.Threading.Tasks.Task<System.IO.Stream>
Public Function GetFaviconAsync (format As CoreWebView2FaviconImageFormat) As Task(Of Stream)

Parameters

format
CoreWebView2FaviconImageFormat

The format to retrieve the Favicon in.

Returns

An IStream populated with the downloaded Favicon.

Applies to