Microsoft Speech Platform
Interface: ISpeechRecoGrammar
CmdLoadFromProprietaryGrammar Method
The CmdLoadFromProprietaryGrammar method loads a proprietary speech grammar.
ISpeechRecoGrammar.CmdLoadFromProprietaryGrammar(
ProprietaryGuid As String,
ProprietaryString As String,
ProprietaryData As Variant,
[LoadOption As SpeechLoadOption = SLOStatic]
)
Parameters
- ProprietaryGuid
- Specifies the GUID of the grammar, which is used by the application and the speech recognition engine to identify it for verifying support.
- ProprietaryString
- A command string used to send information about the grammar.
- ProprietaryData
- Additional information for the process.
- LoadOption
- [Optional] Specifies whether the grammar is to be loaded for static or dynamic use. The default is static. In the case of CmdLoadFromProprietaryGrammar, static loading must be used.
Return Value
None.
Remarks
Using this method will unload the currently loaded context-free grammar or proprietary grammar.