Share via


IFieldPrompt<T>.Template(TemplateUsage) Method

Definition

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.

Applies to