interface ICoreWebView2ContextMenuItemCollection
interface ICoreWebView2ContextMenuItemCollection
: public IUnknown
Represents a collection of ContextMenuItem
objects.
Summary
Members | Descriptions |
---|---|
get_Count | Gets the number of ContextMenuItem objects contained in the ContextMenuItemCollection . |
GetValueAtIndex | Gets the ContextMenuItem at the specified index. |
InsertValueAtIndex | Inserts the ContextMenuItem at the specified index. |
RemoveValueAtIndex | Removes the ContextMenuItem at the specified index. |
Used to get, remove and add ContextMenuItem
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 ContextMenuItem
objects contained in the ContextMenuItemCollection
.
public HRESULT get_Count(UINT32 * value)
GetValueAtIndex
Gets the ContextMenuItem
at the specified index.
public HRESULT GetValueAtIndex(UINT32 index, ICoreWebView2ContextMenuItem ** value)
InsertValueAtIndex
Inserts the ContextMenuItem
at the specified index.
public HRESULT InsertValueAtIndex(UINT32 index, ICoreWebView2ContextMenuItem * value)
RemoveValueAtIndex
Removes the ContextMenuItem
at the specified index.
public HRESULT RemoveValueAtIndex(UINT32 index)
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기