Freigeben über


ChoiceFactory.List Methode

Definition

Überlädt

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

Erstellt eine Nachrichtenaktivität, die eine Liste von Optionen enthält, die als Nummerierungs- oder Aufzählungsliste formatiert wurde.

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

Erstellt eine Nachrichtenaktivität, die eine Liste von Optionen enthält, die als Nummerierungs- oder Aufzählungsliste formatiert sind.

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

Erstellt eine Nachrichtenaktivität, die eine Liste von Optionen enthält, die als Nummerierungs- oder Aufzählungsliste 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: SSML-Text, der vom Bot in einem sprachfähigen Kanal gesprochen werden soll.

options
ChoiceFactoryOptions

Optionale Formatierungsoptionen, um das Rendering der Liste zu optimieren.

Gibt zurück

Eine Aktivität mit Auswahlmöglichkeiten als Nummerierungs- oder Aufzählungszeichen.

Gilt für:

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

Erstellt eine Nachrichtenaktivität, die eine Liste von Optionen enthält, die als Nummerierungs- oder Aufzählungsliste 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 zu einschließenden Optionen.

text
String

Optional: der Text der zu sendenden Nachricht.

speak
String

Optional: Der Text, der von Ihrem Bot in einem sprachfähigen Kanal gesprochen werden soll.

options
ChoiceFactoryOptions

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

Gibt zurück

Die erstellte Nachrichtenaktivität.

Gilt für: