ListViewItem.ListViewSubItemCollection.AddRange Method (ListViewItem.ListViewSubItem[])

 

Adds an array of ListViewItem.ListViewSubItem objects to the collection.

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

public void AddRange(
	ListViewItem.ListViewSubItem[] items
)

Parameters

items
Type: System.Windows.Forms.ListViewItem.ListViewSubItem[]

An array of ListViewItem.ListViewSubItem objects to add to the collection.

You can use this method to reuse the subitems stored in a different ListViewItem. If you want to add a single ListViewItem.ListViewSubItem object, use the Add method. You can also use the Insert method if you want to add a single ListViewItem.ListViewSubItem at a specific position in the collection.

.NET Framework
Available since 1.1
Return to top
Show: