DataGridViewRowCollection::ICollection::Count Property

 

Gets the number of elements contained in the collection.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

private:
property int Count {
	virtual int get() sealed = ICollection::Count::get;
}

Property Value

Type: System::Int32

The number of elements contained in the DataGridViewRowCollection.

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

.NET Framework
Available since 2.0
Return to top
Show: