Language

BasicCard.AddImage Method

Definition

Overloads

Name Description
AddImage(CardImage)

Adds an image and returns this card.

AddImage(String, String)

Adds an image by URL and returns this card.

AddImage(CardImage)

Adds an image and returns this card.

public Microsoft.Agents.Core.Models.BasicCard AddImage(Microsoft.Agents.Core.Models.CardImage image);
member this.AddImage : Microsoft.Agents.Core.Models.CardImage -> Microsoft.Agents.Core.Models.BasicCard
Public Function AddImage (image As CardImage) As BasicCard

Parameters

image
CardImage

Returns

Applies to

AddImage(String, String)

Adds an image by URL and returns this card.

public Microsoft.Agents.Core.Models.BasicCard AddImage(string url, string alt = default);
member this.AddImage : string * string -> Microsoft.Agents.Core.Models.BasicCard
Public Function AddImage (url As String, Optional alt As String = Nothing) As BasicCard

Parameters

url
String
alt
String

Returns

Applies to