Partilhar via


Extensions.ToAttachment Método

Definição

Sobrecargas

ToAttachment(AnimationCard)

Cria um novo anexo a partir de AnimationCard.

ToAttachment(AudioCard)

Cria um novo anexo a partir de AudioCard.

ToAttachment(HeroCard)

Cria um novo anexo a partir de HeroCard.

ToAttachment(OAuthCard)

Cria um novo anexo a partir de OAuthCard.

ToAttachment(ReceiptCard)

Cria um novo anexo a partir de ReceiptCard.

ToAttachment(SigninCard)

Cria um novo anexo a partir de SigninCard.

ToAttachment(ThumbnailCard)

Cria um novo anexo a partir de ThumbnailCard.

ToAttachment(VideoCard)

Cria um novo anexo a partir de VideoCard.

ToAttachment(AnimationCard)

Cria um novo anexo a partir de 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

Parâmetros

card
AnimationCard

A instância de AnimationCard.

Devoluções

O anexo gerado.

Aplica-se a

ToAttachment(AudioCard)

Cria um novo anexo a partir de 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

Parâmetros

card
AudioCard

A instância de AudioCard.

Devoluções

O anexo gerado.

Aplica-se a

ToAttachment(HeroCard)

Cria um novo anexo a partir de 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

Parâmetros

card
HeroCard

A instância de HeroCard.

Devoluções

O anexo gerado.

Aplica-se a

ToAttachment(OAuthCard)

Cria um novo anexo a partir de 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

Parâmetros

card
OAuthCard

A instância de OAuthCard.

Devoluções

O anexo gerado.

Aplica-se a

ToAttachment(ReceiptCard)

Cria um novo anexo a partir de 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

Parâmetros

card
ReceiptCard

A instância de ReceiptCard.

Devoluções

O anexo gerado.

Aplica-se a

ToAttachment(SigninCard)

Cria um novo anexo a partir de 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

Parâmetros

card
SigninCard

A instância de SigninCard.

Devoluções

O anexo gerado.

Aplica-se a

ToAttachment(ThumbnailCard)

Cria um novo anexo a partir de 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

Parâmetros

card
ThumbnailCard

A instância de ThumbnailCard.

Devoluções

O anexo gerado.

Aplica-se a

ToAttachment(VideoCard)

Cria um novo anexo a partir de 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

Parâmetros

card
VideoCard

A instância de VideoCard.

Devoluções

O anexo gerado.

Aplica-se a