AppNotificationButton.SetInputId(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.