語言

BasicCard 建構函式

定義

多載

名稱 Description
BasicCard()

初始化 BasicCard 類別的新執行個體。

BasicCard(String, String, String, IList<CardImage>, IList<CardAction>, CardAction)

初始化 BasicCard 類別的新執行個體。

BasicCard()

初始化 BasicCard 類別的新執行個體。

public BasicCard();
Public Sub New ()

適用於

BasicCard(String, String, String, IList<CardImage>, IList<CardAction>, CardAction)

初始化 BasicCard 類別的新執行個體。

public BasicCard(string title = default, string subtitle = default, string text = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.CardImage> images = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.CardAction> buttons = default, Microsoft.Bot.Schema.CardAction tap = default);
new Microsoft.Bot.Schema.BasicCard : string * string * string * System.Collections.Generic.IList<Microsoft.Bot.Schema.CardImage> * System.Collections.Generic.IList<Microsoft.Bot.Schema.CardAction> * Microsoft.Bot.Schema.CardAction -> Microsoft.Bot.Schema.BasicCard
Public Sub New (Optional title As String = Nothing, Optional subtitle As String = Nothing, Optional text As String = Nothing, Optional images As IList(Of CardImage) = Nothing, Optional buttons As IList(Of CardAction) = Nothing, Optional tap As CardAction = Nothing)

參數

title
String

卡片標題。

subtitle
String

卡片副標題。

text
String

卡片上的簡訊。

images
IList<CardImage>

卡片上的圖片陣列。

buttons
IList<CardAction>

適用於目前卡片的一組動作。

tap
CardAction

當使用者點擊卡片本身時,這個動作會被啟動。

適用於