Disposes the SpeechSynthesizer object and releases resources used during the session.
Namespace:
Microsoft.Speech.Synthesis
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub Dispose |
Visual Basic (Usage) |
---|
Dim instance As SpeechSynthesizer instance.Dispose() |
C# |
---|
public void Dispose() |