BasicCard.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.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