Compartir a través de


SmsTextMessage.Timestamp Propiedad

Definición

Indica la marca de tiempo del mensaje. Se determina localmente para una instancia de mensaje construida o desde la marca de tiempo del centro de servicios de un mensaje recibido.

public:
 property DateTime Timestamp { DateTime get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("SmsTextMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsTextMessage2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
DateTime Timestamp();
/// [get: Windows.Foundation.Metadata.Deprecated("SmsTextMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsTextMessage2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
DateTime Timestamp();
public System.DateTimeOffset Timestamp { [Windows.Foundation.Metadata.Deprecated("SmsTextMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsTextMessage2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))] get; }
public System.DateTimeOffset Timestamp { [Windows.Foundation.Metadata.Deprecated("SmsTextMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsTextMessage2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")] get; }
var dateTime = smsTextMessage.timestamp;
Public ReadOnly Property Timestamp As DateTimeOffset

Valor de propiedad

Valor del tipo DateTime .

Implementaciones

Atributos

Requisitos de Windows

Características de aplicaciones
cellularMessaging sms

Se aplica a