how to select all item in listview?

         For i = 0 To lvList.Items.Count - 1
            lvList.Items(i).Selected = True
        Next i
        PrintToolStripMenuItem.PerformClick()

One way is

For Each item As ListViewItem In ListView1.Items
    item.Selected = True
Next