ISpeechRecoGrammar CmdLoadFromObject Method

Microsoft Speech SDK

Intelligent Interface Technologies Home Page Microsoft Speech SDK

Speech Automation 5.1

Interface: ISpeechRecoGrammar

CmdLoadFromObject Method


The CmdLoadFromObject method loads a speech grammar from a component object model (COM) object.

The COM object must be created from a Windows dynamic link library (DLL).


ISpeechRecoGrammar.CmdLoadFromObject(
     ClassId As String,
     GrammarName As String,
     [LoadOption As SpeechLoadOption = SLOStatic]
)

Parameters

ClassId
Specifies The reference class ID of the object containing the command.
GrammarName
Specifies the GrammarName.
LoadOption
[Optional] Specifies whether the grammar is to be loaded for static or dynamic use. The default is static.

Return Value

None.