interface ICoreWebView2WebMessageReceivedEventArgs2
interface ICoreWebView2WebMessageReceivedEventArgs2
: public ICoreWebView2WebMessageReceivedEventArgs
Extension of WebMessageReceivedEventArgs to provide access to additional WebMessage objects.
Summary
Members | Descriptions |
---|---|
get_AdditionalObjects | Additional received WebMessage objects. |
Applies to
Product | Introduced |
---|---|
WebView2 Win32 | 1.0.1774.30 |
WebView2 Win32 Prerelease | 1.0.1777 |
Members
get_AdditionalObjects
Additional received WebMessage objects.
public HRESULT get_AdditionalObjects(ICoreWebView2ObjectCollectionView ** value)
To pass additionalObjects
via WebMessage to the app, use the chrome.webview.postMessageWithAdditionalObjects
content API. Any DOM object type that can be natively representable that has been passed in to additionalObjects
parameter will be accessible here. Currently a WebMessage object can be the ICoreWebView2File type. Entries in the collection can be nullptr
if null
or undefined
was passed.
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기