ISpeechRecoGrammar CmdLoadFromObject Method (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

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.