Share via


InputDialog.Value Property

Definition

Gets or sets a the expression to use to bind input to the dialog.

public AdaptiveExpressions.Properties.ValueExpression Value { get; set; }
member this.Value : AdaptiveExpressions.Properties.ValueExpression with get, set
Public Property Value As ValueExpression

Property Value

An expression which is evaluated to define the input value.

Remarks

This expression is evaluated on every turn to define mapping user input to the dialog.

If the expression returns null, the input dialog may attempt to pull data from the input directly.

If the expression is a value then it will be used as the input.

This property allows you to define how data such as Recognizer results is bound to the input dialog. Examples: * "=@age" => bind to the input to any age entity recognized in the input. * "=coalesce(@age, @number)" => which means use @age or @number as the input.

Applies to