get_DictionaryName method

The get_DictionaryName method gets the name of a dictionary from the Setup DCO.

.NET restriction: For VBScript, use the DictionaryName property instead.

Syntax

C#
string get_DictionaryName(int nDictionary)

Arguments

nDictionary
The index of the dictionary within the Setup DCO, where 0 is the first dictionary.

Returns

The name of the dictionary.

C# example

This example gets the name of the first dictionary from the Setup DCO file, APT.XML:
 m_oDCO.ReadSetup("C:\\Datacap\\APT\\dco_APT\\APT.XML");
string strDictName = m_oDCO.SetupObject().get_DictionaryName(0);