Extensions.ToAttachment 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ToAttachment(AnimationCard) | |
ToAttachment(AudioCard) | |
ToAttachment(HeroCard) | |
ToAttachment(ReceiptCard) | |
ToAttachment(SigninCard) | |
ToAttachment(ThumbnailCard) | |
ToAttachment(VideoCard) |
ToAttachment(AnimationCard)
public static Microsoft.Bot.Connector.Attachment ToAttachment (this Microsoft.Bot.Connector.AnimationCard card);
static member ToAttachment : Microsoft.Bot.Connector.AnimationCard -> Microsoft.Bot.Connector.Attachment
<Extension()>
Public Function ToAttachment (card As AnimationCard) As Attachment
参数
- card
- AnimationCard
返回
适用于
ToAttachment(AudioCard)
public static Microsoft.Bot.Connector.Attachment ToAttachment (this Microsoft.Bot.Connector.AudioCard card);
static member ToAttachment : Microsoft.Bot.Connector.AudioCard -> Microsoft.Bot.Connector.Attachment
<Extension()>
Public Function ToAttachment (card As AudioCard) As Attachment
参数
- card
- AudioCard
返回
适用于
ToAttachment(HeroCard)
public static Microsoft.Bot.Connector.Attachment ToAttachment (this Microsoft.Bot.Connector.HeroCard card);
static member ToAttachment : Microsoft.Bot.Connector.HeroCard -> Microsoft.Bot.Connector.Attachment
<Extension()>
Public Function ToAttachment (card As HeroCard) As Attachment
参数
- card
- HeroCard
返回
适用于
ToAttachment(ReceiptCard)
public static Microsoft.Bot.Connector.Attachment ToAttachment (this Microsoft.Bot.Connector.ReceiptCard card);
static member ToAttachment : Microsoft.Bot.Connector.ReceiptCard -> Microsoft.Bot.Connector.Attachment
<Extension()>
Public Function ToAttachment (card As ReceiptCard) As Attachment
参数
- card
- ReceiptCard
返回
适用于
ToAttachment(SigninCard)
public static Microsoft.Bot.Connector.Attachment ToAttachment (this Microsoft.Bot.Connector.SigninCard card);
static member ToAttachment : Microsoft.Bot.Connector.SigninCard -> Microsoft.Bot.Connector.Attachment
<Extension()>
Public Function ToAttachment (card As SigninCard) As Attachment
参数
- card
- SigninCard
返回
适用于
ToAttachment(ThumbnailCard)
public static Microsoft.Bot.Connector.Attachment ToAttachment (this Microsoft.Bot.Connector.ThumbnailCard card);
static member ToAttachment : Microsoft.Bot.Connector.ThumbnailCard -> Microsoft.Bot.Connector.Attachment
<Extension()>
Public Function ToAttachment (card As ThumbnailCard) As Attachment
参数
- card
- ThumbnailCard
返回
适用于
ToAttachment(VideoCard)
public static Microsoft.Bot.Connector.Attachment ToAttachment (this Microsoft.Bot.Connector.VideoCard card);
static member ToAttachment : Microsoft.Bot.Connector.VideoCard -> Microsoft.Bot.Connector.Attachment
<Extension()>
Public Function ToAttachment (card As VideoCard) As Attachment
参数
- card
- VideoCard