Udostępnij za pośrednictwem


SmsTextMessage2.DeviceId Property

Definition

Gets the device identifier for the device associated with the SMS text message.

public:
 property Platform::String ^ DeviceId { Platform::String ^ get(); };
winrt::hstring DeviceId();
public string DeviceId { get; }
var string = smsTextMessage2.deviceId;
Public ReadOnly Property DeviceId As String

Property Value

String

Platform::String

winrt::hstring

The device identifier.

Implements

Windows requirements

App capabilities
cellularMessaging sms

Applies to