System.Windows.Forms.ListViewGroupCollection Members

The members of System.Windows.Forms.ListViewGroupCollection are listed below.

See Also: Inherited members from System.Object

Public Properties

[read-only]
Countint.

Gets the number of groups in the collection.

default property
Item(int)ListViewGroup. Documentation for this section has not yet been entered.
default property
Item(string)ListViewGroup. Documentation for this section has not yet been entered.

Public Methods

Add(ListViewGroup) : int

Adds the specified System.Windows.Forms.ListViewGroup to the collection.

Add(string, string) : ListViewGroup

Adds a new System.Windows.Forms.ListViewGroup to the collection using the specified values to initialize the ListViewGroup.Name and ListViewGroup.Header properties

AddRange(ListViewGroup[])

Adds an array of groups to the collection.

AddRange(ListViewGroupCollection)

Adds the groups in an existing System.Windows.Forms.ListViewGroupCollection to the collection.

Clear()

Removes all groups from the collection.

Contains(ListViewGroup) : bool

Determines whether the specified group is located in the collection.

CopyTo(Array, int)

Copies the groups in the collection to a compatible one-dimensional Array, starting at the specified index of the target array.

GetEnumerator() : IEnumerator

Returns an enumerator used to iterate through the collection.

IndexOf(ListViewGroup) : int

Returns the index of the specified System.Windows.Forms.ListViewGroup within the collection.

Insert(int, ListViewGroup)

Inserts the specified System.Windows.Forms.ListViewGroup into the collection at the specified index.

Remove(ListViewGroup)

Removes the specified System.Windows.Forms.ListViewGroup from the collection.

RemoveAt(int)

Removes the System.Windows.Forms.ListViewGroup at the specified index within the collection.

Explicitly Implemented Interface Members

IList.Add

Adds a new System.Windows.Forms.ListViewGroup to the System.Windows.Forms.ListViewGroupCollection.

IList.Contains

Determines whether the specified value is located in the collection.

IList.IndexOf

Returns the index within the collection of the specified value.

IList.Insert

Inserts a System.Windows.Forms.ListViewGroup into the System.Windows.Forms.ListViewGroupCollection.

[read-only]
IList.IsFixedSizebool.

Gets a value indicating whether the collection has a fixed size.

[read-only]
IList.IsReadOnlybool.

Gets a value indicating whether the collection is read-only.

[read-only]
ICollection.IsSynchronizedbool.

Gets a value indicating whether access to the collection is synchronized (thread safe).

IList.Itemobject. Documentation for this section has not yet been entered.
IList.Remove

Removes the System.Windows.Forms.ListViewGroup from the System.Windows.Forms.ListViewGroupCollection.

[read-only]
ICollection.SyncRootobject.

Gets an object that can be used to synchronize access to the collection.