Extensions.ToAttachment 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
參數
傳回
產生的附件。
適用於
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
參數
傳回
產生的附件。
適用於
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
參數
傳回
產生的附件。
適用於
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
參數
傳回
產生的附件。