CardImage 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
CardImage() |
初始化 CardImage 类的新实例。 |
CardImage(String, String, CardAction) |
初始化 CardImage 类的新实例。 |
CardImage()
CardImage(String, String, CardAction)
初始化 CardImage 类的新实例。
public CardImage (string url = default, string alt = default, Microsoft.Bot.Schema.CardAction tap = default);
new Microsoft.Bot.Schema.CardImage : string * string * Microsoft.Bot.Schema.CardAction -> Microsoft.Bot.Schema.CardImage
Public Sub New (Optional url As String = Nothing, Optional alt As String = Nothing, Optional tap As CardAction = Nothing)
参数
- url
- String
主要内容属性的 URL 缩略图。
- alt
- String
适用于屏幕阅读器的图像说明。
- tap
- CardAction
分配给特定附件的操作。