TermsAttribute(String[]) Constructor

Definition

Regular expressions or terms used when matching user input.

public TermsAttribute (params string[] alternatives);
new Microsoft.Bot.Builder.FormFlow.TermsAttribute : string[] -> Microsoft.Bot.Builder.FormFlow.TermsAttribute
Public Sub New (ParamArray alternatives As String())

Parameters

alternatives
String[]

Regular expressions or terms.

Remarks

If MaxPhrase is specified the supplied alternatives will be passed to GenerateTerms(String, Int32) to generate regular expressions with a maximum phrase size of MaxPhrase.

Applies to