![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Configures the SpeechSynthesizer object to not send output from synthesis operations to a device, file, or stream.
Namespace:
Microsoft.Speech.Synthesis
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub SetOutputToNull |
Visual Basic (Usage) |
---|
Dim instance As SpeechSynthesizer instance.SetOutputToNull() |
C# |
---|
public void SetOutputToNull() |
Remarks
Use this method to release the SpeechSynthesizer 's reference to a file or stream.
For other output configuration options, see the SetOutputToAudioStream, SetOutputToDefaultAudioDevice, SetOutputToWaveFile, and SetOutputToWaveStream methods.