>Si il forEach l'ho fatto!Ma come faccio a recuperare l'indice
>dell'elemento in codice VB net?
>plutone
>
Per esempio così:
Function GetIndex(ByVal find As String) As Integer
For Each lv As ListViewItem In Me.ListView1.Items
If lv.Text = find Then
Return lv.Index
End If
Next
End Function
http://blogs.dotnethell.it/Regulator/