NumOfWords
The NumOfWords method returns the number of words that are defined in the dictionary in the Setup DCO.
Description
The following example defines one dictionary with four words, where RoutingInstructions is the dictionary name, and the text in each set of quotation marks is the key value that is associated with the word that follows it.
<DICT n="RoutingInstructions">
<W v="None">None</W>
<W v="Delete">Delete</W>
<W v="Rescan">Rescan</W>
<W v="Review">Review</W>
</DICT>
Syntax
VBScriptoSO.NumOfWords (nDictionary subscript as Long) as Long
C#int NumOfWords(int nDictionary)
Arguments
- nDictionary
- The index of the dictionary, where 0 is the first dictionary in the Setup DCO.