Condividi tramite


SmsReceivedEventDetails.MessageIndex Proprietà

Definizione

Restituisce l'indice del nuovo messaggio che ha generato l'evento. È possibile passarlo a SmsDevice.GetMessageAsync per recuperare il nuovo messaggio stesso.

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

Valore della proprietà

UInt32

unsigned int

uint32_t

Indice integer del nuovo messaggio.

Attributi

Requisiti Windows

Funzionalità dell'app
cellularMessaging sms

Si applica a