CoreWebView2WebMessageReceivedEventArgs.AdditionalObjects Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Additional received WebMessage objects.
public System.Collections.Generic.IReadOnlyList<object> AdditionalObjects { get; }
member this.AdditionalObjects : System.Collections.Generic.IReadOnlyList<obj>
Public ReadOnly Property AdditionalObjects As IReadOnlyList(Of Object)
Property Value
Remarks
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 CoreWebView2File type. Entries in the collection can be nullptr
if null
or undefined
was passed. Cast the object to the native type to access its specific properties.