Add Method (String, String)
Collapse the table of content
Expand the table of content

ListViewGroupCollection.Add Method (String, String)

 

Adds a new ListViewGroup to the collection using the specified values to initialize the Name and Header properties

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

public ListViewGroup Add(
	string key,
	string headerText
)

Parameters

key
Type: System.String

The initial value of the Name property for the new group.

headerText
Type: System.String

The initial value of the Header property for the new group.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft