SpeechSynthesizer.SetOutputToNull Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures the SpeechSynthesizer object to not send output from synthesis operations to a device, file, or stream.
public:
void SetOutputToNull();
public void SetOutputToNull ();
member this.SetOutputToNull : unit -> unit
Public Sub SetOutputToNull ()
Remarks
Use this method to release the SpeechSynthesizer's reference to a file or stream. See SetOutputToWaveStream for an example.
For other output configuration options, see the SetOutputToAudioStream, SetOutputToDefaultAudioDevice, SetOutputToWaveFile, and SetOutputToWaveStream methods.
Applies to
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про