DataGridViewSelectedRowCollection.IList.Contains(Object) DataGridViewSelectedRowCollection.IList.Contains(Object) DataGridViewSelectedRowCollection.IList.Contains(Object) Method

Definition

Determines whether the specified value is contained in the collection.

 virtual bool System.Collections.IList.Contains(System::Object ^ value) = System::Collections::IList::Contains;
bool IList.Contains (object value);
Function Contains (value As Object) As Boolean Implements IList.Contains

Parameters

value
Object Object Object

An object to locate in the DataGridViewSelectedRowCollection.

Returns

true if the value parameter is in the collection; otherwise, false.

Implements

Remarks

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

Applies to

See also