ISpeechRecognizerAnalyzerStatic.SerializeGrammarsToFolderAsync Method

Serializes the grammar set of a speech recognizer to a folder, in a format that can be utilized by SpeechLab.

Syntax

public:
IAsyncAction^ SerializeGrammarsToFolderAsync(
         SpeechRecognizer^ speechRecognizer,
         Uri^ destinationFolder,
         SpeechGrammarRuleInclusionMode inclusionMode
)  

Parameters

speechRecognizer
Type: SpeechRecognizer 

The speech recognizer from which to get the grammar set to serialize.

destinationFolder
Type: Uri 

 The location to which to serialize the grammar set data.

inclusionMode
Type: SpeechGrammarRuleInclusionMode 

Which grammars to serialize.

Return value

Type: IAsyncAction 

The result of the asynchronous call.

Requirements

Namespace: Windows.Xbox.Speech.Recognition

Metadata: windows.winmd

See also

Reference

ISpeechRecognizerAnalyzerStatic Interface

ISpeechRecognizerAnalyzerStatic Members

SpeechLab

Windows.Xbox.Speech.Recognition Namespace