HeroCard.AddImage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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