共用方式為


SmsAppMessage.DeviceId 屬性

定義

接收訊息之裝置的裝置識別碼。

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

屬性值

String

Platform::String

winrt::hstring

接收訊息之裝置的裝置識別碼。

實作

Windows 需求

應用程式功能
cellularMessaging sms

適用於