Choice(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 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.