interface ICoreWebView2ContextMenuItemCollection

interface ICoreWebView2ContextMenuItemCollection
  : public IUnknown

Represents a collection of ICoreWebView2ContextMenuItem objects.

Summary

Members Descriptions
get_Count Gets the number of ICoreWebView2ContextMenuItem objects contained in the ICoreWebView2ContextMenuItemCollection.
GetValueAtIndex Gets the ICoreWebView2ContextMenuItem at the specified index.
InsertValueAtIndex Inserts the ICoreWebView2ContextMenuItem at the specified index.
RemoveValueAtIndex Removes the ICoreWebView2ContextMenuItem at the specified index.

Used to get, remove and add ICoreWebView2ContextMenuItem objects at the specified index.

Applies to

Product Introduced
WebView2 Win32 1.0.1185.39
WebView2 Win32 Prerelease 1.0.1189

Members

get_Count

Gets the number of ICoreWebView2ContextMenuItem objects contained in the ICoreWebView2ContextMenuItemCollection.

public HRESULT get_Count(UINT32 * value)

GetValueAtIndex

Gets the ICoreWebView2ContextMenuItem at the specified index.

public HRESULT GetValueAtIndex(UINT32 index, ICoreWebView2ContextMenuItem ** value)

InsertValueAtIndex

Inserts the ICoreWebView2ContextMenuItem at the specified index.

public HRESULT InsertValueAtIndex(UINT32 index, ICoreWebView2ContextMenuItem * value)

RemoveValueAtIndex

Removes the ICoreWebView2ContextMenuItem at the specified index.

public HRESULT RemoveValueAtIndex(UINT32 index)