ComponentOne Scheduler for WPF and Silverlight
Find(PropertyDescriptor,Object) Method

C1.C1Schedule Namespace > C1BindingSource Class > Find Method : Find(PropertyDescriptor,Object) Method
The System.ComponentModel.PropertyDescriptor to search on.
The value of the property parameter to search for.
Searches for the index of the item that has the given property descriptor.
Syntax
'Declaration
 
Public Overloads Overridable Function Find( _
   ByVal prop As System.ComponentModel.PropertyDescriptor, _
   ByVal key As System.Object _
) As System.Integer
public virtual System.int Find( 
   System.ComponentModel.PropertyDescriptor prop,
   System.object key
)

Parameters

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

Return Value

The index of the item that has the given System.ComponentModel.PropertyDescriptor.
See Also

Reference

C1BindingSource Class
C1BindingSource Members
Overload List