listviewitemcollection

Hi Guys

I'm just starting out with c#, and I'm looking at a listview, now in vb I would look at the collection in the listview using the ListViewItemCollection, I know its there some where (I can find it in vb) but c# does not list it, any ideas where I should be looking.

I've tried (and where I would expect to find it) this.listview1.ListviewItemCollection but its not there.

Thanks

Duncan



Answer this question

listviewitemcollection

  • f_scholer

    Hi

    Got it, its because I'm use to vb, c# is all backwards compared to vb I should have said listview.listviewitemcollection item = this.listview.items;


  • Kaktusbluete

    Wouldn't that be this.listview1.Items



  • listviewitemcollection