Condividi tramite


ChoiceFactory.ToChoices(IList<String>) Metodo

Definizione

Accetta un elenco 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>

Elenco di opzioni da aggiungere.

Restituisce

Elenco di scelte.

Si applica a