แก้ไข

แชร์ผ่าน


ListViewGroupCollection.IList.Add(Object) Method

Definition

 virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
int IList.Add (object value);
int IList.Add (object? value);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
Function Add (value As Object) As Integer Implements IList.Add

Parameters

value
Object

The ListViewGroup to add to the ListViewGroupCollection.

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