Add a choice rule using a key and a phrase.
public:
SpeechChoiceRule^ AddChoiceRule(
String^ key,
IIterable<String^ >^ phrases
)
key
Type: String
The key.
phrases
Type: IIterable<String^ >
The phrase.
Type: SpeechChoiceRule
The SpeechChoiceRule object associated with the specified key.
Namespace: Windows.Xbox.Speech.Recognition
Metadata: windows.winmd
SpeechGrammarBuilderRuleSet Class