แก้ไข

แชร์ผ่าน


BindingList<T>.IBindingList.Find(PropertyDescriptor, Object) Method

Definition

For a description of this member, see Find(PropertyDescriptor, Object).

 virtual int System.ComponentModel.IBindingList.Find(System::ComponentModel::PropertyDescriptor ^ prop, System::Object ^ key) = System::ComponentModel::IBindingList::Find;
int IBindingList.Find (System.ComponentModel.PropertyDescriptor prop, 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 (prop As PropertyDescriptor, key As Object) As Integer Implements IBindingList.Find

Parameters

prop
PropertyDescriptor

The PropertyDescriptor to search on.

key
Object

The value of the prop 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 BindingList<T> instance is cast to an IBindingList interface.

Applies to