Share via


Note

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

SpeechSynthesizer.RemoveLexicon Method

Removes a lexicon from the SpeechSynthesizer object.

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

Syntax

'Declaration
Public Sub RemoveLexicon ( _
    uri As Uri _
)
'Usage
Dim instance As SpeechSynthesizer
Dim uri As Uri

instance.RemoveLexicon(uri)
public void RemoveLexicon(
    Uri uri
)

Parameters

  • uri
    Type: System.Uri
    The location of the lexicon document.

Remarks

See AddLexicon(Uri, String) for an example.

See Also

Reference

SpeechSynthesizer Class

SpeechSynthesizer Members

Microsoft.Speech.Synthesis Namespace

AddLexicon(Uri, String)

Other Resources

Lexicons and Phonetic Alphabets (Microsoft.Speech)