System.Windows.Forms.ListViewGroupCollection.Add Method

Adds a new System.Windows.Forms.ListViewGroup to the collection using the specified values to initialize the ListViewGroup.Name and ListViewGroup.Header properties

Syntax

public ListViewGroup Add (string key, string headerText)

Parameters

key
The initial value of the ListViewGroup.Name property for the new group.
headerText
The initial value of the ListViewGroup.Header property for the new group.

Returns

The new System.Windows.Forms.ListViewGroup.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0