Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft Speech API 5.4
Interface: ISpeechRecognizer
Type: Hidden
SetPropertyNumber Method
The SetPropertyNumber method sets a numeric property corresponding to the specified name.
See ISpeechRecognizer.GetPropertyNumber for complete details and code sample.
SpeechRecognizer.SetPropertyNumber(
Name As String,
Value As Long
) As Boolean
Parameters
- Name
Specifies the string name of the property. - Value
Specifies the new 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.
Remarks
For a complete list of SAPI 5 supported properties see the SAPI 5 SR Properties White Paper.
Example
See ISpeechRecognizer.GetPropertyNumber for a complete code sample.