Thanks Parke, It's really helpful and made my work easy.
On Mon, Nov 11, 2013 at 6:51 PM, Parke <[email protected]> wrote: > Suman: >> > > A sortedList is a new type of dictionary available to us from dotNet. Run > the following code and you will see that the keys are put into alphabetical > order. If the keys are numerical, then the keys will put into numerical > order. > > Set mysl_2 = DotnetFactory.CreateInstance("System.Collections.SortedList") > > > mysl_2.add "b", "baby" > mysl_2.add "z", "zero" > mysl_2.add "a", "apple" > mysl_2.add "c", "carrot" > mysl_2.add "o", "orange" > mysl_2.add "p", "pear" > mysl_2.add "a.1", "annoy" > mysl_2.add "O", "juice" > > Set myEnumerator_2 = DotnetFactory.CreateInstance( > "System.Collections.IDictionaryEnumerator") > Set myEnumerator_2 = mysl_2.getEnumerator > > While myEnumerator_2.movenext > print "Key = " & myEnumerator_2.Key & ": value = " & > myEnumerator_2.value > Wend > > hth, > > Parke > > > -- > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "QTP - HP Quick Test Professional - Automated Software Testing" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
