ListViewItem::ListViewSubItemCollection::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 an existing ListViewItem::ListViewSubItem to the collection.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- item
-
Type:
System::Object^
The ListViewItem::ListViewSubItem to add to the collection.
Return Value
Type: System::Int32The zero-based index that indicates the location of the object that was added to the collection.
Implements
IList::Add(Object^)| Exception | Condition |
|---|---|
| ArgumentException | item is not a ListViewItem::ListViewSubItem. |
.NET Framework
Available since 1.1
Available since 1.1
Show: