Public Class Form1 Private sampleData() As String = Enumerable.Range(0, 50000).Select(Function(i) i.ToString("000000")).ToArray() Private Sub Button1_Click() Handles Button1.Click ListView1.Clear() Dim sw = Stopwatch.StartNew() ListView1.BeginUpdate() If CheckBox1.Checked Then '一括登録 Dim items As New List(Of ListViewItem)() For Each item In sampleData items.Add(New ListViewItem(item)) Next ListView1.Items.AddRange(items.ToArray()) Else '繰り返し登録 For Each item In sampleData ListView1.Items.Add(item) Next End If ListView1.EndUpdate() sw.Stop() MessageBox.Show(sw.Elapsed.ToString(), "処理時間") End Sub Private Sub Button2_Click() Handles Button2.Click ListBox1.Items.Clear() Dim sw = Stopwatch.StartNew() ListBox1.BeginUpdate() If CheckBox1.Checked Then '一括登録 ListBox1.Items.AddRange(sampleData) Else '繰り返し登録 For Each item In sampleData ListBox1.Items.Add(item) Next End If ListBox1.EndUpdate() sw.Stop() MessageBox.Show(sw.Elapsed.ToString(), "処理時間") End Sub End Class