語言

TemplateAttribute 建構函式

定義

多載

名稱 Description
TemplateAttribute(TemplateAttribute)

從另一個範本初始化。

TemplateAttribute(TemplateUsage, String[])

指定一組範本,隨機選擇用於特定用途。

TemplateAttribute(TemplateAttribute)

來源:
Attributes.cs

從另一個範本初始化。

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)

參數

other
TemplateAttribute

另一個範本。

適用於

TemplateAttribute(TemplateUsage, String[])

來源:
Attributes.cs

指定一組範本,隨機選擇用於特定用途。

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())

參數

usage
TemplateUsage

範本將如何使用。

patterns
String[]

隨機選擇的 \ref 模式集合。

適用於