Speech Automation 5.1
Object: SpLexicon
GetWords Method
The GetWords method gets a list of all words in the current user and application lexicons.
SpLexicon.GetWords(
[Flags As SpeechLexiconType = SLTUser | SLTApp],
[GenerationID As Long = 0]
) As ISpeechLexiconWords
Parameters
- Flags
- [Optional] If Flags is SLTUser, user lexicon words are returned; SLTApp returns application lexicon words. By default both types of words are returned.
- GenerationID
- [Optional] The GenerationID. By default the value is zero.
Return Value
An ISpeechLexiconWords object, which is a collection of one or more ISpeechLexiconWord objects.