Share via


Choice(String) Constructor

Definition

Initializes a new instance of the Choice class to add a choice to a choice prompt.

public Choice (string value = default);
new Microsoft.Bot.Builder.Dialogs.Choices.Choice : string -> Microsoft.Bot.Builder.Dialogs.Choices.Choice
Public Sub New (Optional value As String = Nothing)

Parameters

value
String

The value to return when the choice is selected.

Applies to