What does a NameValueList contain?

What does a NameValueList contain?

Old forum URL: forums.lhotka.net/forums/t/887.aspx


Michael Hildner posted on Sunday, August 13, 2006

Well, I'm not feeling too bright today. If I have a NameValueList, can I iterate through it with a foreach? Right now I'm looping through with a "for" statement. i.e. foreach(??? item in MyList).

Thanks,

Mike

xal replied on Sunday, August 13, 2006

You should do:

foreach (MyList.NameValuePair item in _myList)

Andrés

Michael Hildner replied on Sunday, August 13, 2006

Thanks Andrés, appreciate it.

Mike

Copyright (c) Marimer LLC