ListViewItem.ListViewSubItemCollection.IList.Add(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an existing ListViewItem.ListViewSubItem to the collection.
virtual int System.Collections.IList.Add(System::Object ^ item) = System::Collections::IList::Add;
int IList.Add (object item);
int IList.Add (object? item);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
Function Add (item As Object) As Integer Implements IList.Add
Parameters
- item
- Object
The ListViewItem.ListViewSubItem to add to the collection.
Returns
The zero-based index that indicates the location of the object that was added to the collection.
Implements
Exceptions
item
is not a ListViewItem.ListViewSubItem.