Bewerken

Share via


DataViewManager.IBindingList.Find(PropertyDescriptor, Object) Method

Definition

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

 virtual int System.ComponentModel.IBindingList.Find(System::ComponentModel::PropertyDescriptor ^ property, System::Object ^ key) = System::ComponentModel::IBindingList::Find;
int IBindingList.Find (System.ComponentModel.PropertyDescriptor property, object key);
abstract member System.ComponentModel.IBindingList.Find : System.ComponentModel.PropertyDescriptor * obj -> int
override this.System.ComponentModel.IBindingList.Find : System.ComponentModel.PropertyDescriptor * obj -> int
Function Find (property As PropertyDescriptor, key As Object) As Integer Implements IBindingList.Find

Parameters

property
PropertyDescriptor

The PropertyDescriptor to search on.

key
Object

The value of the property parameter to search for.

Returns

The index of the row that has the given PropertyDescriptor.

Implements

Remarks

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

Applies to