System.Windows.Forms.ListViewGroupCollection.Count Property

Gets the number of groups in the collection.

Syntax

public int Count { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use this property to determine the number of groups in the collection. This is useful when you need to loop through the collection and perform the same operation on each group. You can also use the IEnumerator returned by the ListViewGroupCollection.GetEnumerator method to iterate through the collection.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0