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: