Jaa


ChoiceFactory.ToChoices(IList<String>) Method

Definition

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

choices
IList<String>

The list of choices to add.

Returns

A list of choices.

Applies to