IBindingList.Find Method

DataViewManager.IBindingList.Find Method (PropertyDescriptor, Object)

.NET Framework (current version)
 

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

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

int IBindingList.Find(
	PropertyDescriptor property,
	object key
)

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:
© 2016 Microsoft