共用方式為


PhoneNotificationTriggerDetails.AppId 屬性

定義

如果適用,則為與通知相關聯的應用程式識別碼。 這不是市集中應用程式識別碼。 這是特定手機上應用程式實例的識別碼,可唯一識別應用程式。

public:
 property Platform::String ^ AppId { Platform::String ^ get(); };
winrt::hstring AppId();
public string AppId { get; }
var string = phoneNotificationTriggerDetails.appId;
Public ReadOnly Property AppId As String

屬性值

String

Platform::String

winrt::hstring

指定應用程式識別碼的字元字串。

實作

Windows 需求

應用程式功能
accessoryManager

備註

呼叫此 API 需要應用程式資訊清單中指定 ID_CAP_SMSID_CAP_SMS_COMPANION 功能。

適用於