次の方法で共有


interface ICoreWebView2CustomItemSelectedEventHandler

Note

This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.

interface ICoreWebView2CustomItemSelectedEventHandler
  : public IUnknown

Raised to notify the host that the end user selected a custom ContextMenuItem.

Summary

Members Descriptions
Invoke Provides the event args for the corresponding event.

CustomItemSelected event is raised on the specific ContextMenuItem that the end user selected.

Applies to

Product Introduced
WebView2 Win32 1.0.1185.39
WebView2 Win32 Prerelease 1.0.1189

Members

Invoke

Provides the event args for the corresponding event.

public HRESULT Invoke(ICoreWebView2ContextMenuItem * sender, IUnknown * args)

No event args exist and the args parameter is set to null.