IFieldPrompt<T>.Template(TemplateUsage) 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.
Return a template for building a prompt.
public Microsoft.Bot.Builder.FormFlow.TemplateAttribute Template (Microsoft.Bot.Builder.FormFlow.TemplateUsage usage);
abstract member Template : Microsoft.Bot.Builder.FormFlow.TemplateUsage -> Microsoft.Bot.Builder.FormFlow.TemplateAttribute
Public Function Template (usage As TemplateUsage) As TemplateAttribute
Parameters
- usage
- TemplateUsage
Kind of template we are looking for.
Returns
NULL if no template, otherwise a template annotation.