Choices Constructor
Creates a new instance of the Choices object.
Remarks
The Speech platform supports creating a Choices objects using a default constructor (which returns an empty object), from a group of System.String objects, or a set of GrammarBuilder objects used as parameters.
Because the GrammarBuilder object supports implicit conversion from SemanticResultValue and SemanticResultKey, a Choices can be constructed from an array of these objects using a cast.
GrammarBuilderGrammar
Overload List
Name | Description |
---|---|
Choices () |
Default constructor for Choices.
|
Choices (GrammarBuilder[]) |
Constructs a new instance of Choices from one or more GrammarBuilder instances.
|
Choices (String[]) |
Constructs a new instance of Choices from one or more System.String instances.
|
See Also
Reference
Choices Class
Choices Members
Microsoft.Speech.Recognition Namespace
GrammarBuilder
Grammar
GrammarBuilder
Grammar