Sdílet prostřednictvím


ChoiceFactory.ToChoices(IList<String>) Metoda

Definice

Vezme seznam řetězců a vrátí je jako 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)

Parametry

choices
IList<String>

Seznam možností, které chcete přidat.

Návraty

Seznam voleb.

Platí pro