Partager via


SmsReceivedEventDetails.MessageIndex Propriété

Définition

Retourne l’index du nouveau message qui a déclenché l’événement. Vous pouvez le transmettre à SmsDevice.GetMessageAsync pour récupérer le nouveau message lui-même.

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

Valeur de propriété

UInt32

unsigned int

uint32_t

Index entier du nouveau message.

Attributs

Configuration requise pour Windows

Fonctionnalités de l’application
cellularMessaging sms

S’applique à