次の方法で共有


ChoiceFactory.List メソッド

定義

オーバーロード

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

段落番号または箇条書きとして書式設定された選択肢の一覧を含むメッセージ アクティビティを作成します。

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

番号付きリストまたは箇条書きとして書式設定された選択肢のリストを含むメッセージ アクティビティを作成します。

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

段落番号または箇条書きとして書式設定された選択肢の一覧を含むメッセージ アクティビティを作成します。

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

パラメーター

choices
IList<Choice>

レンダリングする選択肢の一覧。

text
String

省略可能、メッセージのテキスト。

speak
String

オプション。音声対応チャネルでボットによって読み上げられる SSML テキスト。

options
ChoiceFactoryOptions

オプション。リストのレンダリングを調整するための書式設定オプション。

戻り値

段落番号または箇条書きの選択肢を含むアクティビティ。

適用対象

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

番号付きリストまたは箇条書きとして書式設定された選択肢のリストを含むメッセージ アクティビティを作成します。

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

パラメーター

choices
IList<String>

含める選択肢の一覧。

text
String

省略可能。送信するメッセージのテキスト。

speak
String

オプション。音声対応チャネルでボットによって読み上げられるテキスト。

options
ChoiceFactoryOptions

オプション。リストとしてレンダリングするときに使用する書式設定オプション。

戻り値

作成されたメッセージ アクティビティ。

適用対象