DataViewManager.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.
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.