Creates a SpeechGrammar object by using a string array of values, and adds it to the speech grammar set.
public:
SpeechGrammar^ AddGrammarFromList(
String^ key,
IIterable<String^ >^ phrases
)
key
Type: String
The name of the grammar.
phrases
Type: IIterable<String^ >
A string array of words or phrases that make up the grammar.
Type: SpeechGrammar
The grammar that is added to the speech grammar set.
Namespace: Windows.Xbox.Speech.Recognition
Metadata: windows.winmd