You are reading help file online using chmlib.com
|
Interface: ISpeechRecoResult
The RecoContext property retrieves the current ISpeechRecoContext for the recognizer.
Applications may have multiple recognition contexts open at the same time. RecoContext provides a means to determine which context owns the recognition. For example, in situations with more than recognition context, a recognition result may call RecoContext to get the context associated with it. The returned context may be changed afterward and will not affect other contexts.
Set: | (This property is read-only) |
Get: | ISpeechRecoContext = ISpeechRecoResult.RecoContext |
The following snippet assumes a valid recognition RecoResult. If more than one recognition context exists, the one owning RecoResult is retrieved and the event interest is changed. No other recognition contexts are affected.
Dim myContext As ISpeechRecoContext
Set myContext = RecoResult.RecoContext()
myContext.EventInterests = SREFalseRecognition
You are reading help file online using chmlib.com
|