Edit

Share via


ListViewItem.ListViewSubItemCollection.IList.Add(Object) Method

Definition

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

Applies to