ThumbnailCard.AddButton 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 |
|---|---|
| AddButton(CardAction) |
Adds a button and returns this card. |
| AddButton(String, String, Object) |
Adds a button by title/type/value and returns this card. |
AddButton(CardAction)
Adds a button and returns this card.
public Microsoft.Agents.Core.Models.ThumbnailCard AddButton(Microsoft.Agents.Core.Models.CardAction button);
member this.AddButton : Microsoft.Agents.Core.Models.CardAction -> Microsoft.Agents.Core.Models.ThumbnailCard
Public Function AddButton (button As CardAction) As ThumbnailCard
Parameters
- button
- CardAction
Returns
Applies to
AddButton(String, String, Object)
Adds a button by title/type/value and returns this card.
public Microsoft.Agents.Core.Models.ThumbnailCard AddButton(string title, string type = "imBack", object value = default);
member this.AddButton : string * string * obj -> Microsoft.Agents.Core.Models.ThumbnailCard
Public Function AddButton (title As String, Optional type As String = "imBack", Optional value As Object = Nothing) As ThumbnailCard
Parameters
- title
- String
- type
- String
- value
- Object