Lingua

ChoiceFactory.ToChoices(IList<String>) Metodo

Definizione

Prende una lista di stringhe e le restituisce come 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)

Parametri

choices
IList<String>

La lista delle scelte da aggiungere.

Valori restituiti

Elenco di scelte.

Si applica a