EBDN - Community - Question & Answers

  Thursday, 11 May 2017
  0 Replies
  2.1K Visits
0
Votes
Undo
Hello,

The following code should look for the reference of the given text "Reset", inside the first "Secondary Dictionary" of the project

string sText = "Reset";
Dictionary oDic = m_oEbProject.Configuration.SecondaryDictionaries[0];
string sReference = oDic.GetReference(m_oEbProject, sText);

There is a "to many data in dictionary exception" as soon as any of the other EB-Dictionaries (e.g. the project dictionary) also contains the text "Reset" .

How can I narrow the search to the oDic object only.

(Using API of EB Version 6.6.1)

Thanks