Edit

Share via


ToastSelectionBoxItem(String, String) Constructor

Definition

Initializes a new instance of the ToastSelectionBoxItem class. Constructs a new Toast SelectionBoxItem with the required elements.

public ToastSelectionBoxItem (string id, string content);
new Microsoft.Toolkit.Uwp.Notifications.ToastSelectionBoxItem : string * string -> Microsoft.Toolkit.Uwp.Notifications.ToastSelectionBoxItem
Public Sub New (id As String, content As String)

Parameters

id
String

Developer-provided ID that the developer uses later to retrieve input when the Toast is interacted with.

content
String

String that is displayed on the selection item. This is what the user sees.

Applies to