title: Get the position of a ListView item that was just created?
body: <p>In my winform I create an item in a listview like so;</p>
  
  <pre><code>ListViewItem item = listView1.Items.Add("an item");
  </code></pre>
  
  <p>How can I get its <s>position</s> index? I've tried the following;</p>
  
  <pre><code>int position = item.Position;
  int position = item.SelectedIndices[0];
  </code></pre>
  
  <p>But neither works.</p>
  
  <p>I would use <code>listView1.SelectedIndices[0];</code> but the newly created item isn't selected so that won't work either.</p>
  
  <p>EDIT: By position, I meant the index of the item, not its co-ordinates. Apologies for the confusion!</p>