CoreWebView2.GetFaviconAsync(CoreWebView2FaviconImageFormat) 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.
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
The format to retrieve the Favicon in.
Returns
An IStream
populated with the downloaded Favicon.