DataGridViewSelectedRowCollection::Contains Method (DataGridViewRow^)

 

Determines whether the specified row is contained in the collection.

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

public:
bool Contains(
	DataGridViewRow^ dataGridViewRow
)

Return Value

Type: System::Boolean

true if dataGridViewRow is in the collection; otherwise, false.

.NET Framework
Available since 2.0
Return to top
Show: