FeedMessageReceivedArgs.Message 属性

定义

获取一个字符串,其中包含使用 window.chrome.webview.postMessage JavaScript 方法从源内容中发布的消息的内容

public:
 property Platform::String ^ Message { Platform::String ^ get(); };
winrt::hstring Message();
public string Message { get; }
var string = feedMessageReceivedArgs.message;
Public ReadOnly Property Message As String

属性值

String

Platform::String

winrt::hstring

包含消息内容的字符串

注解

字符串可以是简单的文本,也可以是提供程序解释的对象的序列化形式。 有关使用此属性的值的信息,请参阅 TryGetWebMessageAsString

适用于