Creates a SpeechGrammar object by using a SGRS grammar file, and adds it to the speech grammar set.
public:
SpeechGrammar^ AddGrammarFromUri(
String^ key,
Uri^ grammarUri
)
key
Type: String
The name of the grammar.
grammarUri
Type: Uri
An absolute path Uniform Resource Identifier (URI) to the SGRS grammar file.
Type: SpeechGrammar
The grammar that is added to the speech grammar set.
Namespace: Windows.Xbox.Speech.Recognition
Metadata: windows.winmd