Share via


IPrompt<T>.Prompt(T, IField<T>, Object[]) Method

Definition

Return prompt to send to user.

public Microsoft.Bot.Builder.FormFlow.Advanced.FormPrompt Prompt (T state, Microsoft.Bot.Builder.FormFlow.Advanced.IField<T> field, params object[] args);
abstract member Prompt : 'T * Microsoft.Bot.Builder.FormFlow.Advanced.IField<'T (requires 'T : null)> * obj[] -> Microsoft.Bot.Builder.FormFlow.Advanced.FormPrompt
Public Function Prompt (state As T, field As IField(Of T), ParamArray args As Object()) As FormPrompt

Parameters

state
T

Current form state.

field
IField<T>

Current field being processed.

args
Object[]

Optional arguments.

Returns

Message to user.

Applies to