arraylist into listviewitemcollection in one step?

  • Thread starter Thread starter ohmmega
  • Start date Start date
O

ohmmega

i've created an arraylist of listviewitems in order to put it into an
listview.
foreach work's pretty fine - but i'm usually curious %)

is there a way to use listview.items.addrange on this arraylist?

regards
rené
 
i've created an arraylist of listviewitems in order to put it into an
listview.
foreach work's pretty fine - but i'm usually curious %)

is there a way to use listview.items.addrange on this arraylist?

=======

'untested:

dim items as listviewitem()

items=directcast( _
al.toarray(gettype(listviewitem)), listviewitem() _
)

lvw.items.addrange(items)



Armin
 
Back
Top