แก้ไข

แชร์ผ่าน


ListView.CheckedIndexCollection.IList.Clear Method

Definition

Removes all items from the collection.

 virtual void System.Collections.IList.Clear() = System::Collections::IList::Clear;
void IList.Clear ();
abstract member System.Collections.IList.Clear : unit -> unit
override this.System.Collections.IList.Clear : unit -> unit
Sub Clear () Implements IList.Clear

Implements

Exceptions

Always thrown.

Remarks

You cannot change the ListView.CheckedIndexCollection class directly. To clear the ListView.CheckedIndexCollection, set the Checked property to false for each ListViewItem in the ListView.ListViewItemCollection.

Applies to