Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft Speech API 5.4
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.