WidgetMessageReceivedArgs.Message 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.
Gets a string containing the contents of the message that was posted from the widget's web content using the window.chrome.webview.postMessage JavaScript method.
public:
property Platform::String ^ Message { Platform::String ^ get(); };
winrt::hstring Message();
public string Message { get; }
var string = widgetMessageReceivedArgs.message;
Public ReadOnly Property Message As String
Property Value
A string containing the contents of the message.
Remarks
The string may be simple text or a serialized form of an object that is interpreted by the provider. For information on using the value of this property, see TryGetWebMessageAsString.