Share via


AppNotificationButton.SetInputId(String) Method

Definition

Sets the input ID for an AppNotificationButton.

public:
 virtual AppNotificationButton ^ SetInputId(Platform::String ^ value) = SetInputId;
AppNotificationButton SetInputId(winrt::hstring const& value);
public AppNotificationButton SetInputId(string value);
function setInputId(value)
Public Function SetInputId (value As String) As AppNotificationButton

Parameters

value
String

Platform::String

winrt::hstring

A string containing the input ID for the button.

Returns

Returns the AppNotificationButton instance so that additional method calls can be chained.

Remarks

You can also set the input ID of an app notification button with the AppNotificationButton.InputId.

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