ChoiceFactory.List Methode

Definition

Überlädt

Name Beschreibung
List(IList<Choice>, String, String, ChoiceFactoryOptions)

Erstellt eine Nachrichtenaktivität mit einer Liste von Auswahlmöglichkeiten, die als nummerierte oder aufzählungsartige Liste formatiert wurde.

List(IList<String>, String, String, ChoiceFactoryOptions)

Erstellt eine Nachrichtenaktivität, die eine Liste mit Auswahlmöglichkeiten enthält, die als nummerierte Oder Aufzählung formatiert sind.

List(IList<Choice>, String, String, ChoiceFactoryOptions)

Erstellt eine Nachrichtenaktivität mit einer Liste von Auswahlmöglichkeiten, die als nummerierte oder aufzählungsartige Liste formatiert wurde.

public static Microsoft.Bot.Schema.Activity List(System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Choices.Choice> choices, string text = default, string speak = default, Microsoft.Bot.Builder.Dialogs.Choices.ChoiceFactoryOptions options = default);
static member List : System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Choices.Choice> * string * string * Microsoft.Bot.Builder.Dialogs.Choices.ChoiceFactoryOptions -> Microsoft.Bot.Schema.Activity
Public Shared Function List (choices As IList(Of Choice), Optional text As String = Nothing, Optional speak As String = Nothing, Optional options As ChoiceFactoryOptions = Nothing) As Activity

Parameter

choices
IList<Choice>

Die Liste der zu rendernden Optionen.

text
String

Optional, Text der Nachricht.

speak
String

Optional wird SSML-Text vom Bot auf einem sprachfähigen Kanal gesprochen.

options
ChoiceFactoryOptions

Optionale Formatierungsoptionen, um das Rendering der Liste anzupassen.

Gibt zurück

Eine Aktivität mit Auswahlmöglichkeiten als nummerierte oder aufzählungsmäßige Liste.

Gilt für:

List(IList<String>, String, String, ChoiceFactoryOptions)

Erstellt eine Nachrichtenaktivität, die eine Liste mit Auswahlmöglichkeiten enthält, die als nummerierte Oder Aufzählung formatiert sind.

public static Microsoft.Bot.Schema.Activity List(System.Collections.Generic.IList<string> choices, string text = default, string speak = default, Microsoft.Bot.Builder.Dialogs.Choices.ChoiceFactoryOptions options = default);
static member List : System.Collections.Generic.IList<string> * string * string * Microsoft.Bot.Builder.Dialogs.Choices.ChoiceFactoryOptions -> Microsoft.Bot.Schema.Activity
Public Shared Function List (choices As IList(Of String), Optional text As String = Nothing, Optional speak As String = Nothing, Optional options As ChoiceFactoryOptions = Nothing) As Activity

Parameter

choices
IList<String>

Die Liste der einzuschließden Optionen.

text
String

Optional, der Text der zu sendenden Nachricht.

speak
String

Optional, der Text, der von deinem Bot auf einem sprachgesteuerten Kanal gesprochen wird.

options
ChoiceFactoryOptions

Optional, die Formatierungsoptionen, die beim Rendern als Liste verwendet werden.

Gibt zurück

Die erstellte Nachrichtenaktivität.

Gilt für: