Sprog

HeroCard.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.HeroCard AddImage(Microsoft.Agents.Core.Models.CardImage image);
member this.AddImage : Microsoft.Agents.Core.Models.CardImage -> Microsoft.Agents.Core.Models.HeroCard
Public Function AddImage (image As CardImage) As HeroCard

Parameters

image
CardImage

Returns

Applies to

AddImage(String, String)

Adds an image by URL and returns this card.

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

Parameters

url
String
alt
String

Returns

Applies to