As Atheist has already said, the SelectedIndices property returns a SelectedIndexCollection. As is the case with ALL collections, if you want to know how many items it contains you get its Count property.

As for deleting the selected items, you have two main choices:

1.
vb.net Code:
  1. For i As Integer = myListView.SelectedIndices.Count - 1 To 0 Step -1
  2.     myListView.Items.RemoveAt(myListView.SelectedIndices(i))
  3. Next i
2.
vb.net Code:
  1. For i As Integer = myListView.SelectedItems.Count - 1 To 0 Step -1
  2.     myListView.Items.Remove(myListView.SelectedItems(i))
  3. Next i
In both cases you should call BeginUpdate and EndUpdate before and after the loop respectively, to prevent the control being redrawn after each removal.

Note that the loops MUST go backwards to prevent a removal affecting the indexes of the rest of the items to be removed.