TermsAttribute(String[]) Constructor
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.
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.