RemoveRangeメソッドを使うとList内の指定した範囲にある複数の要素を削除することができます。
RemoveRangeメソッドを使って指定した範囲にある要素をListから削除する
Imports System
Imports System.Collections.Generic
Class Sample
Shared Sub Main()
Dim list As New List(Of Integer)(New Integer() {0, 1, 2, 3, 4})
Print(list)
' インデックス2から要素3個を削除する
' ({0, 1, 2, 3, 4}の2, 3, 4が削除される)
list.RemoveRange(2, 3)
Print(list)
End Sub
Shared Sub Print(ByVal list As List(Of Integer))
For Each e As Integer In list
Console.Write("{0}, ", e)
Next
Console.WriteLine()
End Sub
End Class
実行結果
0, 1, 2, 3, 4, 0, 1,