Share via


AppNotificationButton.InputId Property

Definition

Gets or sets the input ID for an AppNotificationButton.

public:
 property Platform::String ^ InputId { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring InputId();

void InputId(winrt::hstring value);
public string InputId { get; set; }
var string = appNotificationButton.inputId;
appNotificationButton.inputId = string;
Public Property InputId As String

Property Value

String

Platform::String

winrt::hstring

A string containing the input ID for the button.

Remarks

You can also set the input ID of an app notification button by calling AppNotificationButton.SetInputId).

For guidance on using the AppNotificationBuilder APIs to create the UI for app notifications, see App notification content.

For reference information about the XML schema for app notifications, see App notification content schema.

Applies to