Share via


AppNotificationInfo.Id Property

Definition

Gets the identifier for the application.

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

Property Value

String

Platform::String

winrt::hstring

The identifier for the application.

Windows requirements

App capabilities
accessoryManager

Remarks

Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.

Applies to