Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ISpeechGrammarRule AddResource Method (SAPI 5.3)

Speech API 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.


Show:
© 2015 Microsoft