Adds a specified key and grammar to the grammar set.
public:
SpeechGrammar^ AddGrammarFromBuilder(
String^ key,
SpeechGrammarBuilder^ grammar
)
key
Type: String
The key.
grammar
Type: SpeechGrammarBuilder
The grammar.
Type: SpeechGrammar
A SpeechGrammar object.
Namespace: Windows.Xbox.Speech.Recognition
Metadata: windows.winmd