Share via


SpeechRecognizer SetPropertyString method (SAPI 5.3)

Microsoft Speech API 5.3

Interface: ISpeechRecognizer
Type: Hidden

SetPropertyString Method

The SetPropertyString method sets a text property corresponding to the specified name.

The SAPI 5 speech recognition (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.

  
    SpeechRecognizer.SetPropertyString(
     Name As String,
     Value As String
) As Boolean

Parameters

  • Name
    Specifies the string name of the property.
  • Value
    Specifies the new String value of property Name. If the return value is False, Name will not be changed.

Return Value

A Boolean variable of True if the property is supported, or False if not supported.

Example

See ISpeechRecognizer.GetPropertyNumber for a related code sample.