SpeechRecognizer SetPropertyString method (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

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.

     Name As String,
     Value As String
) As Boolean


Specifies the string name of the property.
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.


See ISpeechRecognizer.GetPropertyNumber for a related code sample.