Posted this on the NT Forum and got the usual "Non Answer" back. SURPRISE!
Hoping someone on BigMike's cxan shed some light on this. I have found many references for for KeyValuePairs that have a single Value but nothing for multiple Values.
Trying to learn how to get the Index of a Value using internal class. I have found many references for basic KeyValuePairs but nothing on internal class. Could someone pass a website showing this procedure or offer a solution?
internal class IndicatorInfo
public int DescriptionType= 0;
public string TempOne = "";
public string TempTwo = "";
private SortedList<double, IndicatorInfo> IndicatorValueList = new SortedList<double, IndicatorInfo>();
Obviously this does not work nor has many, many other variations:
int IndexOfTempOne = IndicatorValueList.IndexOfValue(TempOneString);
yYou need to loop through all elements in the list, get the IndicatorInfo Value from the keyvaluepair, an then check if TempOne is what you are looking for. If not, continue iterating through the loop.
There is no built in function, you need to write your own search iterator