get_Word method
The get_Word method gets the word value from a dictionary term.
.NET restriction: For VBScript,
use the Word property instead.
In the following XML sample, RoutingInstructions is the name of the dictionary, which is followed by the key value and word value pairs ("None", None, and so on):
<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
- C#
string get_Word(int nDictionary, int nIndex)
Arguments
- nDictionary
- The index of the dictionary within the Setup object, where 0 is the first dictionary
- nIndex
- The index of the term within the dictionary, where 0 is the first term
C# example
This example gets the word value on the second term in the first dictionary:m_oDCO.ReadSetup("C:\\Datacap\\APT\\dco_APT\\APT.XML");
string strDictWord = m_oDCO.SetupObject().get_Word(0, 1);