SpUnCompressedLexicon GetWords method (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

Object: SpUnCompressedLexicon

GetWords Method

The GetWords method gets a list of all words in the current the user or application lexicon.

An ISpeechLexiconWord object contains a word's pronunciation and type. The GetWords method returns a collection of these objects.

     [Flags As SpeechLexiconType],
     [GenerationId As Long]
) As ISpeechLexiconWords


[Optional] A SpeechLexiconType constant. If Flags is SLTUser, only user lexicon words are returned; if Flags is SLTApp, only application lexicon words are returned.
[Optional] The GenerationId.

Return Value

An ISpeechLexiconWords object, which is a collection of one or more ISpeechLexiconWord objects.