Export (0) Print
Expand All

ListView.ColumnHeaderCollection.AddRange Method

Adds an array of column headers to the collection.

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

public virtual void AddRange(
	ColumnHeader[] values
)

Parameters

values
Type: System.Windows.Forms.ColumnHeader[]

An array of ColumnHeader objects to add to the collection.

You can use this method to reuse the column headers used in a different ListView control. If you want to add a single ColumnHeader, use the Add method. You can also use the Insert method if you want to add a single ColumnHeader at a specific position in the collection.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft