c# ListView控件

1. ListView.SelectedIndices 属性  

功能:获取控件中选定项的索引

属性值:索引值

Type: System.Windows.Forms.ListView.SelectedIndexCollection

一个 ListView.SelectedIndexCollection 包含所选的项的索引。 如果当前未不选择任何项,一个空 ListView.SelectedIndexCollection 返回。

posted @ 2017-02-27 04:16  hannah520  阅读(186)  评论(0编辑  收藏  举报