ListView.SelectedIndexCollection.IList.Add(Object) 方法      
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
向集合中添加一项。
 virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
	int IList.Add(object value);
	int IList.Add(object? value);
	abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
	Function Add (value As Object) As Integer Implements IList.Add
	参数
- value
 - Object
 
要添加到 ListView.SelectedIndexCollection 的对象。
返回
所添加项的位置。
实现
例外
始终引发。
注解
不能直接更改 ListView.SelectedIndexCollection 类。 若要将 的 ListViewItem 索引添加到 , ListView.SelectedIndexCollection请使用 Selected 属性。