Bagikan melalui


SmsTextMessage.Timestamp Properti

Definisi

Menunjukkan tanda waktu pesan. Ini ditentukan secara lokal untuk instans pesan yang dibangun atau dari tanda waktu pusat layanan pesan yang diterima.

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

Nilai Properti

Nilai jenis DateTime .

Penerapan

Atribut

Persyaratan Windows

Kemampuan aplikasi
cellularMessaging sms

Berlaku untuk