SmsMessageReceivedEventArgs.TextMessage 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索保存消息的文本表示形式的 对象。 如果消息未成功解码,则返回错误。
public:
property SmsTextMessage ^ TextMessage { SmsTextMessage ^ get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("SmsMessageReceivedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
SmsTextMessage TextMessage();
/// [get: Windows.Foundation.Metadata.Deprecated("SmsMessageReceivedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
SmsTextMessage TextMessage();
public SmsTextMessage TextMessage { [Windows.Foundation.Metadata.Deprecated("SmsMessageReceivedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))] get; }
public SmsTextMessage TextMessage { [Windows.Foundation.Metadata.Deprecated("SmsMessageReceivedEventArgs may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")] get; }
var smsTextMessage = smsMessageReceivedEventArgs.textMessage;
Public ReadOnly Property TextMessage As SmsTextMessage
属性值
一个新的 SmsTextMessage 对象。
- 属性
Windows 要求
应用功能 |
cellularMessaging
sms
|