SetOutputToNull Method

SpeechSynthesizer.SetOutputToNull Method ()

 

Configures the SpeechSynthesizer object to not send output from synthesis operations to a device, file, or stream.

Namespace:   System.Speech.Synthesis
Assembly:  System.Speech (in System.Speech.dll)

public void SetOutputToNull()

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.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft