ToastSelectionBoxItem(String, String) Constructor
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.
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.