Share via


ISpeechRecoResultDispatch RecoContext Property (SAPI 5.3)

Microsoft Speech API 5.3

Interface: ISpeechRecoResultDispatch

RecoContext Property

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.

Syntax

Set: (This property is read-only)
Get: ISpeechRecoContext = ISpeechRecoResultDispatch.RecoContext

Parts

  • ISpeechRecoContextDispatch
    The owning object.
  • SpSharedRecoContext
    Set: (This property is read-only)
    Get: An SpSharedRecoContext variable that gets the property.