ListView.SelectedListViewItemCollection.Clear 方法

定义

从集合中移除所有项。Removes all items from the collection.

public:
 virtual void Clear();
public void Clear ();
abstract member Clear : unit -> unit
override this.Clear : unit -> unit
Public Sub Clear ()

实现

注解

此方法使您能够从控件中清除所有选择 ListViewThis method enables you to clear all selections from the ListView control.

适用于