Compartilhar via


CoreWebView2WebMessageReceivedEventArgs.AdditionalObjects Property

Definition

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.

Applies to