ListViewGroupCollection::IList::Add Method (Object^)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Adds a new ListViewGroup to the ListViewGroupCollection.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- value
-
Type:
System::Object^
The ListViewGroup to add to the ListViewGroupCollection.
Implements
IList::Add(Object^)| Exception | Condition |
|---|---|
| ArgumentException | value is not a ListViewGroup. -or- value contains at least one ListViewItem that belongs to a ListView control other than the one that owns this ListViewGroupCollection. |
.NET Framework
Available since 2.0
Available since 2.0
Show: