set_DictionaryName method
The set_DictionaryName method sets the name of a dictionary within the Setup DCO.
Syntax
- C#
void set_DictionaryName(int nDictionary, string pVal)
Arguments
- nDictionary
- The index of the dictionary within the Setup DCO, where 0 is the first dictionary.
- pVal
- The new dictionary name.
Returns
Nothing.C# example
This C# example sets the name of the first dictionary in the Setup DCO file APT.XML:
m_oDCO.ReadSetup("C:\\Datacap\\APT\\dco_APT\\APT.XML");
string strDictName = m_oDCO.SetupObject().set_DictionaryName(0, "Datacap");
m_oDCO.WriteSetup("C:\\Datacap\\APT\\dco_APT\\APT.XML");