Share via


Field<T>.SetPrompt(PromptAttribute) Method

Definition

Sets the field prompt.

public Microsoft.Bot.Builder.FormFlow.Advanced.Field<T> SetPrompt (Microsoft.Bot.Builder.FormFlow.PromptAttribute prompt);
member this.SetPrompt : Microsoft.Bot.Builder.FormFlow.PromptAttribute -> Microsoft.Bot.Builder.FormFlow.Advanced.Field<'T (requires 'T : null)>
Public Function SetPrompt (prompt As PromptAttribute) As Field(Of T)

Parameters

prompt
PromptAttribute

The prompt.

Returns

A Field<T>.

Applies to