PromptAttribute Constructors
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.
Overloads
PromptAttribute(TemplateAttribute) |
Define a prompt based on a TemplateAttribute. |
PromptAttribute(String[]) |
Define a prompt with one or more \ref patterns patterns to choose from randomly. |
PromptAttribute(TemplateAttribute)
- Source:
- Attributes.cs
Define a prompt based on a TemplateAttribute.
public PromptAttribute (Microsoft.Bot.Builder.FormFlow.TemplateAttribute pattern);
new Microsoft.Bot.Builder.FormFlow.PromptAttribute : Microsoft.Bot.Builder.FormFlow.TemplateAttribute -> Microsoft.Bot.Builder.FormFlow.PromptAttribute
Public Sub New (pattern As TemplateAttribute)
Parameters
- pattern
- TemplateAttribute
Template to use.
Applies to
PromptAttribute(String[])
- Source:
- Attributes.cs
Define a prompt with one or more \ref patterns patterns to choose from randomly.
public PromptAttribute (params string[] patterns);
new Microsoft.Bot.Builder.FormFlow.PromptAttribute : string[] -> Microsoft.Bot.Builder.FormFlow.PromptAttribute
Public Sub New (ParamArray patterns As String())
Parameters
- patterns
- String[]
Patterns to select from.