Any ideas? I can't find any examples that support this.
I'm thinking a solution may be something like inherting arraylist and
containing a hashtable.
or
Inheriting NameObjectCollectionBase and containing an arraylist to use for
looping thru in 'order'.
My current implementation display an inaccurate order, since the newly added
member is always appended to the end of the collection. Right now I'm
inheriting NameObjectCollectionBase, it seems to give meme everthing but
allowing me to InsertAt a specific location (therefore my order is wacked
when i enumerate.) The only potential solution I can think of for the
current implementation is to override the Add(), place all items in a
temporary contained collection, clear the class collection, and re-add using
some logic to add them in the appropriate order. I don't think this is a
good idea to clear the entire collection just to add a new item in an
appropriate order.
Thanks in advance for any ideas.
Stan