T
Tim Murphy
When creating a collection class that inherits CollectionBase what advantage
is there for the Item property returning CType(List.Item(index),
<objecttype> ) over List.Item(index).
Looking at the help file I guess speed and that's a good thing but what is
the point when if you use "for each ... next" the Item property is NOT used.
Surely most collections are accessed via "for each ... next" as opposed to
"for nItem = 0 to nItems". Am I wrong?
Is there a way to strongly type the return type in the "for each .... next"
routine?
Tim
is there for the Item property returning CType(List.Item(index),
<objecttype> ) over List.Item(index).
Looking at the help file I guess speed and that's a good thing but what is
the point when if you use "for each ... next" the Item property is NOT used.
Surely most collections are accessed via "for each ... next" as opposed to
"for nItem = 0 to nItems". Am I wrong?
Is there a way to strongly type the return type in the "for each .... next"
routine?
Tim