Field<T>.SetPrompt(PromptAttribute) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>.