SpeechRecognitionEngine::UpdateRecognizerSetting Method (String^, String^)
.NET Framework (current version)
Updates the specified speech recognition engine setting with the specified string value.
Assembly: System.Speech (in System.Speech.dll)
Parameters
- settingName
-
Type:
System::String^
The name of the setting to update.
- updatedValue
-
Type:
System::String^
The new value for the setting.
| Exception | Condition |
|---|---|
| ArgumentNullException | settingName is null. |
| ArgumentException | settingName is the empty string (""). |
| KeyNotFoundException | The recognizer does not have a setting by that name. |
With the exception of PersistedBackgroundAdaptation, property values set using the UpdateRecognizerSetting method remain in effect only for the current instance of SpeechRecognitionEngine, after which they revert to their default settings. See UpdateRecognizerSetting for descriptions of supported settings.
.NET Framework
Available since 3.0
Available since 3.0
Show: