Delen via


SpeechSynthesizer.SetOutputToNull Method

Definition

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