共用方式為


AppNotificationInfo.Id 屬性

定義

取得應用程式的識別碼。

public:
 property Platform::String ^ Id { Platform::String ^ get(); };
winrt::hstring Id();
public string Id { get; }
var string = appNotificationInfo.id;
Public ReadOnly Property Id As String

屬性值

String

Platform::String

winrt::hstring

應用程式的識別碼。

Windows 需求

應用程式功能
accessoryManager

備註

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

適用於