ISpeechGrammarRule AddResource Method (SAPI 5.3)
Microsoft Speech API 5.3
Interface: ISpeechGrammarRule
AddResource Method
The AddResource method adds one or more string name/value pair associated with a rule.
This method is used with an interpreter rule, in which case the interpreter can call the C/C++ function ISpCFGInterpreterSite::GetResourceValue to get the value of a specified resource name.
ISpeechGrammarRule.AddResource(
ResourceName As String,
ResourceValue As String
)
Parameters
- ResourceName
Specifies the ResourceName. - ResourceValue
Specifies the ResourceValue.
Return Value
None.