DataGridViewSelectedRowCollection.ICollection.Count Property

Definition

Gets the number of elements in the collection.

property int System::Collections::ICollection::Count { int get(); };
int System.Collections.ICollection.Count { get; }
 ReadOnly Property Count As Integer Implements ICollection.Count

Property Value

The number of elements in the collection.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the DataGridViewSelectedRowCollection instance is cast to an ICollection interface.

Applies to

See also