Share via


Choice Class

Definition

Represents a choice for a choice prompt.

public class Choice
type Choice = class
Public Class Choice
Inheritance
Choice

Constructors

Choice(String)

Initializes a new instance of the Choice class to add a choice to a choice prompt.

Properties

Action

Gets or sets the action to use when rendering the choice as a suggested action or hero card. This is optional.

Synonyms

Gets or sets the list of synonyms to recognize in addition to the value. This is optional.

Value

Gets or sets the value to return when selected.

Applies to