BindingList<T>.IBindingList.Find(PropertyDescriptor, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.