ListView::ColumnHeaderCollection::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 ColumnHeader to the ListView.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- value
-
Type:
System::Object^
The ColumnHeader to be added to the ListView.
Return Value
Type: System::Int32The zero-based index indicating the location of the object that was added to the collection
Implements
IList::Add(Object^)| Exception | Condition |
|---|---|
| ArgumentException | value is not a ColumnHeader. |
.NET Framework
Available since 1.1
Available since 1.1
Show: