Compartir a través de


interface ICoreWebView2Interop

interface ICoreWebView2Interop
  : public IUnknown

Interop interface for the CoreWebView2 WinRT object to allow WinRT end developers to be able to use COM interfaces as parameters for some methods.

Summary

Members Descriptions
AddHostObjectToScript Add the provided host object to script running in the WebView with the specified name.

This interface is implemented by the Microsoft.Web.WebView2.Core.CoreWebView2 runtime class.

Members

AddHostObjectToScript

Add the provided host object to script running in the WebView with the specified name.

public HRESULT AddHostObjectToScript(LPCWSTR name, VARIANT * object)

See the documentation for ICoreWebView2::AddHostObjectToScript for more information.