ListViewGroupCollection.IList.Add(Object) ListViewGroupCollection.IList.Add(Object) ListViewGroupCollection.IList.Add(Object) Method

Definition

 virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
int IList.Add (object value);
Function Add (value As Object) As Integer Implements IList.Add

Parameters

Returns

The index at which the ListViewGroup has been added.

Implements

Exceptions

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.

Applies to