ChoiceFactory.ToChoices(IList<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.
Takes a list of strings and returns them as Choice.
public static System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Choices.Choice> ToChoices (System.Collections.Generic.IList<string> choices);
static member ToChoices : System.Collections.Generic.IList<string> -> System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Choices.Choice>
Public Shared Function ToChoices (choices As IList(Of String)) As IList(Of Choice)
Parameters
Returns
A list of choices.