DataViewManager.IBindingList.Find Method (PropertyDescriptor, Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: