TemplateAttribute 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
TemplateAttribute(TemplateAttribute) |
Initialize from another template. |
TemplateAttribute(TemplateUsage, String[]) |
Specify a set of templates to randomly choose between for a particular usage. |
TemplateAttribute(TemplateAttribute)
- Source:
- Attributes.cs
Initialize from another template.
public TemplateAttribute (Microsoft.Bot.Builder.FormFlow.TemplateAttribute other);
new Microsoft.Bot.Builder.FormFlow.TemplateAttribute : Microsoft.Bot.Builder.FormFlow.TemplateAttribute -> Microsoft.Bot.Builder.FormFlow.TemplateAttribute
Public Sub New (other As TemplateAttribute)
Parameters
- other
- TemplateAttribute
The other template.
Applies to
TemplateAttribute(TemplateUsage, String[])
- Source:
- Attributes.cs
Specify a set of templates to randomly choose between for a particular usage.
public TemplateAttribute (Microsoft.Bot.Builder.FormFlow.TemplateUsage usage, params string[] patterns);
new Microsoft.Bot.Builder.FormFlow.TemplateAttribute : Microsoft.Bot.Builder.FormFlow.TemplateUsage * string[] -> Microsoft.Bot.Builder.FormFlow.TemplateAttribute
Public Sub New (usage As TemplateUsage, ParamArray patterns As String())
Parameters
- usage
- TemplateUsage
How the template will be used.
- patterns
- String[]
The set of \ref patterns to randomly choose from.