共用方式為


CoreWebView2.GetComICoreWebView2 Method

Definition

Returns the existing COM ICoreWebView2 object underlying this .NET CoreWebView2 object. This allows interacting with the WebView2 control using COM APIs, even if the control was originally created using .NET.

public IntPtr GetComICoreWebView2 ();
member this.GetComICoreWebView2 : unit -> nativeint
Public Function GetComICoreWebView2 () As IntPtr

Returns

IntPtr

nativeint

Pointer to a COM object that implements the ICoreWebView2 COM interface.

Applies to