編輯

共用方式為


ListView.SelectedListViewItemCollection.Clear Method

Definition

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 ()

Implements

Remarks

This method enables you to clear all selections from the ListView control.

Applies to