Scheduler for WinForms | ComponentOne
C1.Win.C1Schedule.4.5.2 Assembly / 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.

In This Topic
    Find(PropertyDescriptor,Object) Method
    In This Topic
    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