title: listView.SortKey = ColumnHeader.Index - 1
body: <p>I am converting VB to VB.NET and I found two error which i have no idea to solve it</p>
  
  <pre><code>listView.SortKey = ColumnHeader.Index - 1
  
  listView.Sorted = False
  </code></pre>
  
  <p>I know that <code>SortKey</code> is getting the <code>column index</code> for sorting and  <code>listView.Sorted</code>  is setting turn off or on sorting.</p>
  
  <p>but how is the code in vb.net? </p>