Searches for the index of the item that has the given property descriptor.

Namespace:  C1.C1Schedule
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
public virtual int Find(
	PropertyDescriptor prop,
	Object key
)
Visual Basic
Public Overridable Function Find ( _
	prop As PropertyDescriptor, _
	key As Object _
) As Integer

Parameters

prop
Type: System.ComponentModel..::..PropertyDescriptor
The PropertyDescriptor to search on.
key
Type: System..::..Object
The value of the property parameter to search for.

Return Value

The index of the item that has the given PropertyDescriptor.

Implements

IBindingList..::..Find(PropertyDescriptor, Object)

See Also