次の方法で共有


SmsReceivedEventDetails.MessageIndex プロパティ

定義

イベントを発生させた新しいメッセージのインデックスを返します。 これを SmsDevice.GetMessageAsync に渡して、新しいメッセージ自体を取得できます。

public:
 property unsigned int MessageIndex { unsigned int get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("SmsReceivedEventDetails may be altered or unavailable for releases after Windows 10. Instead, use SmsMessageReceivedTriggerDetails.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
uint32_t MessageIndex();
/// [get: Windows.Foundation.Metadata.Deprecated("SmsReceivedEventDetails may be altered or unavailable for releases after Windows 10. Instead, use SmsMessageReceivedTriggerDetails.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
uint32_t MessageIndex();
public uint MessageIndex { [Windows.Foundation.Metadata.Deprecated("SmsReceivedEventDetails may be altered or unavailable for releases after Windows 10. Instead, use SmsMessageReceivedTriggerDetails.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))] get; }
public uint MessageIndex { [Windows.Foundation.Metadata.Deprecated("SmsReceivedEventDetails may be altered or unavailable for releases after Windows 10. Instead, use SmsMessageReceivedTriggerDetails.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")] get; }
var uInt32 = smsReceivedEventDetails.messageIndex;
Public ReadOnly Property MessageIndex As UInteger

プロパティ値

UInt32

unsigned int

uint32_t

新しいメッセージの整数インデックス。

属性

Windows の要件

アプリの機能
cellularMessaging sms

適用対象