Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

SpeechSynthesizer.Dispose Method

Disposes the SpeechSynthesizer object and releases resources used during the session.

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

Syntax

'Declaration
Public Sub Dispose
'Usage
Dim instance As SpeechSynthesizer

instance.Dispose()
public void Dispose()

Implements

IDisposable.Dispose()

See Also

Reference

SpeechSynthesizer Class

SpeechSynthesizer Members

Microsoft.Speech.Synthesis Namespace