共用方式為


BasicCard 建構函式

定義

多載

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

當使用者點選卡片本身時,將會啟用此動作。

適用於