Share via


SpeechRecoContext PropertyStringChange Event (SAPI 5.3)

Microsoft Speech API 5.3

Interface: ISpeechRecoContext Events

PropertyStringChange Event

The PropertyStringChange event occurs when the speech recognition (SR) engine detects a change in a property String value.

The SAPI 5 SR engine does not support any properties with associated string values. However, other manufacturer's engines could. See ISpeechRecognizer.GetPropertyNumber for a related and similar feature.

  
    SpeechRecoContext.PropertyStringChange(
     StreamNumber As Long,
     StreamPosition As Variant,
     PropertyName As String,
     NewStringValue As String
)

Parameters

  • StreamNumber
    The stream number.
  • StreamPosition
    The stream position.
  • PropertyName
    Specifies the value of property Name.
  • NewNumberValue
    The new String value of the property.

Example

See ISpeechRecognizer.GetPropertyNumber for a related code sample.