Share via


PromptOptions Class

Definition

Contains settings to pass to a Prompt<T> when the prompt is started.

public class PromptOptions
type PromptOptions = class
Public Class PromptOptions
Inheritance
PromptOptions

Constructors

PromptOptions()

Properties

Choices

Gets or sets a list of choices for the user to choose from, for use with a ChoicePrompt.

Prompt

Gets or sets the initial prompt to send the user as an Activity.

RecognizeLanguage

Gets or sets the locale used for recognizing the user's choice.

RetryPrompt

Gets or sets the retry prompt to send the user as and Activity.

Style

Gets or sets the ListStyle for a ChoicePrompt.

Validations

Gets or sets additional options for use with any PromptValidator<T> attached to the prompt.

Applies to