ListView.ListViewItemCollection.AddRange Method (ListView.ListViewItemCollection)


Adds a collection of items to the collection.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public void AddRange(
	ListView.ListViewItemCollection items

Exception Condition

items is null.


The containing ListView is in virtual mode.

If the containing ListView is sorted, the AddRange method will add the items in sorted order; otherwise, it will add them to the end of the collection.

.NET Framework
Available since 2.0
Return to top