共用方式為


Extensions.ToAttachment 方法

定義

多載

ToAttachment(AnimationCard)

AnimationCard 建立新的附件。

ToAttachment(AudioCard)

AudioCard 建立新的附件。

ToAttachment(HeroCard)

HeroCard 建立新的附件。

ToAttachment(OAuthCard)

OAuthCard 建立新的附件。

ToAttachment(ReceiptCard)

ReceiptCard 建立新的附件。

ToAttachment(SigninCard)

SigninCard 建立新的附件。

ToAttachment(ThumbnailCard)

ThumbnailCard 建立新的附件。

ToAttachment(VideoCard)

VideoCard 建立新的附件。

ToAttachment(AnimationCard)

AnimationCard 建立新的附件。

public static Microsoft.Bot.Schema.Attachment ToAttachment (this Microsoft.Bot.Schema.AnimationCard card);
static member ToAttachment : Microsoft.Bot.Schema.AnimationCard -> Microsoft.Bot.Schema.Attachment
<Extension()>
Public Function ToAttachment (card As AnimationCard) As Attachment

參數

card
AnimationCard

AnimationCard 的執行個體。

傳回

產生的附件。

適用於

ToAttachment(AudioCard)

AudioCard 建立新的附件。

public static Microsoft.Bot.Schema.Attachment ToAttachment (this Microsoft.Bot.Schema.AudioCard card);
static member ToAttachment : Microsoft.Bot.Schema.AudioCard -> Microsoft.Bot.Schema.Attachment
<Extension()>
Public Function ToAttachment (card As AudioCard) As Attachment

參數

card
AudioCard

AudioCard 的執行個體。

傳回

產生的附件。

適用於

ToAttachment(HeroCard)

HeroCard 建立新的附件。

public static Microsoft.Bot.Schema.Attachment ToAttachment (this Microsoft.Bot.Schema.HeroCard card);
static member ToAttachment : Microsoft.Bot.Schema.HeroCard -> Microsoft.Bot.Schema.Attachment
<Extension()>
Public Function ToAttachment (card As HeroCard) As Attachment

參數

card
HeroCard

HeroCard 的執行個體。

傳回

產生的附件。

適用於

ToAttachment(OAuthCard)

OAuthCard 建立新的附件。

public static Microsoft.Bot.Schema.Attachment ToAttachment (this Microsoft.Bot.Schema.OAuthCard card);
static member ToAttachment : Microsoft.Bot.Schema.OAuthCard -> Microsoft.Bot.Schema.Attachment
<Extension()>
Public Function ToAttachment (card As OAuthCard) As Attachment

參數

card
OAuthCard

OAuthCard 的執行個體。

傳回

產生的附件。

適用於

ToAttachment(ReceiptCard)

ReceiptCard 建立新的附件。

public static Microsoft.Bot.Schema.Attachment ToAttachment (this Microsoft.Bot.Schema.ReceiptCard card);
static member ToAttachment : Microsoft.Bot.Schema.ReceiptCard -> Microsoft.Bot.Schema.Attachment
<Extension()>
Public Function ToAttachment (card As ReceiptCard) As Attachment

參數

card
ReceiptCard

ReceiptCard 的執行個體。

傳回

產生的附件。

適用於

ToAttachment(SigninCard)

SigninCard 建立新的附件。

public static Microsoft.Bot.Schema.Attachment ToAttachment (this Microsoft.Bot.Schema.SigninCard card);
static member ToAttachment : Microsoft.Bot.Schema.SigninCard -> Microsoft.Bot.Schema.Attachment
<Extension()>
Public Function ToAttachment (card As SigninCard) As Attachment

參數

card
SigninCard

SigninCard 的執行個體。

傳回

產生的附件。

適用於

ToAttachment(ThumbnailCard)

ThumbnailCard 建立新的附件。

public static Microsoft.Bot.Schema.Attachment ToAttachment (this Microsoft.Bot.Schema.ThumbnailCard card);
static member ToAttachment : Microsoft.Bot.Schema.ThumbnailCard -> Microsoft.Bot.Schema.Attachment
<Extension()>
Public Function ToAttachment (card As ThumbnailCard) As Attachment

參數

card
ThumbnailCard

ThumbnailCard 的執行個體。

傳回

產生的附件。

適用於

ToAttachment(VideoCard)

VideoCard 建立新的附件。

public static Microsoft.Bot.Schema.Attachment ToAttachment (this Microsoft.Bot.Schema.VideoCard card);
static member ToAttachment : Microsoft.Bot.Schema.VideoCard -> Microsoft.Bot.Schema.Attachment
<Extension()>
Public Function ToAttachment (card As VideoCard) As Attachment

參數

card
VideoCard

VideoCard 的執行個體。

傳回

產生的附件。

適用於