SpeechRecognizer SetPropertyString method (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

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.