ThumbnailCard.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.ThumbnailCard AddImage(Microsoft.Agents.Core.Models.CardImage image);
member this.AddImage : Microsoft.Agents.Core.Models.CardImage -> Microsoft.Agents.Core.Models.ThumbnailCard
Public Function AddImage (image As CardImage) As ThumbnailCard
Parameters
- image
- CardImage
Returns
Applies to
AddImage(String, String)
Adds an image by URL and returns this card.
public Microsoft.Agents.Core.Models.ThumbnailCard AddImage(string url, string alt = default);
member this.AddImage : string * string -> Microsoft.Agents.Core.Models.ThumbnailCard
Public Function AddImage (url As String, Optional alt As String = Nothing) As ThumbnailCard
Parameters
- url
- String
- alt
- String