次の方法で共有


SmsMessageReceivedEventArgs.TextMessage プロパティ

定義

メッセージのテキスト表現を保持する オブジェクトを取得します。 メッセージが正常にデコードされない場合は、エラーが返されます。

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

適用対象