共用方式為


interface ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler

interface ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler
  : public IUnknown

Receives the result of the AddScriptToExecuteOnDocumentCreated method.

Summary

Members Descriptions
Invoke Provides the result of the corresponding asynchronous method.

Applies to

Product Introduced
WebView2 Win32 0.9.430
WebView2 Win32 Prerelease 0.9.488

Members

Invoke

Provides the result of the corresponding asynchronous method.

public HRESULT Invoke(HRESULT errorCode, LPCWSTR result)