SetOutputToNull Method

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

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.

See Also