DataViewManager::IBindingList::Find Method (PropertyDescriptor^, Object^)

 

Returns the index of the row that has the given PropertyDescriptor.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

private:
virtual int Find(
	PropertyDescriptor^ property,
	Object^ key
) sealed = IBindingList::Find

Parameters

property
Type: System.ComponentModel::PropertyDescriptor^

The PropertyDescriptor to search on.

key
Type: System::Object^

The value of the property parameter to search for.

Return Value

Type: System::Int32

The index of the row that has the given PropertyDescriptor.

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

.NET Framework
Available since 1.1
Return to top
Show: