Partager via


WebView2.CoreWebView2 Property

Definition

Accesses the complete functionality of the underlying CoreWebView2 COM API. Returns null until initialization has completed. See the WebView2 class documentation for an initialization overview.

[System.ComponentModel.Browsable(false)]
public Microsoft.Web.WebView2.Core.CoreWebView2 CoreWebView2 { get; }
[<System.ComponentModel.Browsable(false)>]
member this.CoreWebView2 : Microsoft.Web.WebView2.Core.CoreWebView2
Public ReadOnly Property CoreWebView2 As CoreWebView2

Property Value

Implements

Attributes

Exceptions

Thrown if the calling thread isn't the thread which created this object (usually the UI thread). See VerifyAccess() for more info. May also be thrown if the browser process has crashed unexpectedly and left the control in an invalid state. We are considering throwing a different type of exception for this case in the future.

Thrown if Dispose(Boolean) has already been called on the control.

Applies to

See also