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.