ReceiptItem 构造函数

定义

重载

ReceiptItem()

初始化 ReceiptItem 类的新实例。

ReceiptItem(String, String, String, CardImage, String, String, CardAction)

初始化 ReceiptItem 类的新实例。

ReceiptItem()

初始化 ReceiptItem 类的新实例。

public ReceiptItem ();
Public Sub New ()

适用于

ReceiptItem(String, String, String, CardImage, String, String, CardAction)

初始化 ReceiptItem 类的新实例。

public ReceiptItem (string title = default, string subtitle = default, string text = default, Microsoft.Bot.Schema.CardImage image = default, string price = default, string quantity = default, Microsoft.Bot.Schema.CardAction tap = default);
new Microsoft.Bot.Schema.ReceiptItem : string * string * string * Microsoft.Bot.Schema.CardImage * string * string * Microsoft.Bot.Schema.CardAction -> Microsoft.Bot.Schema.ReceiptItem
Public Sub New (Optional title As String = Nothing, Optional subtitle As String = Nothing, Optional text As String = Nothing, Optional image As CardImage = Nothing, Optional price As String = Nothing, Optional quantity As String = Nothing, Optional tap As CardAction = Nothing)

参数

title
String

卡片的标题。

subtitle
String

副标题显示在“标题”字段正下方,仅在字体样式上与“标题”不同。

text
String

文本字段显示在副标题下方,仅在字体样式上与副标题不同。

image
CardImage

图像。

price
String

货币金额。

quantity
String

给定类型的项数。

tap
CardAction

当用户点击“项”气泡时,将激活此操作。

适用于