更新时间:2023-12-05 09:35:16
myListView.SelectedItems(0).Index
myListView.SelectedIndices(0)
使用以下代码.
Use below code.
int index = listView.SelectedIndices[0];
请参考以下链接.
http://unlockforus.blogspot.in/2010/02/c-how-to-get-selected-index [
Refer the below link.
http://unlockforus.blogspot.in/2010/02/c-how-to-get-selected-index-and.html[^]