Scheduler for WPF | ComponentOne
C1.Schedule Namespace / ContactStorage 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 PropertyDescriptor, _
       ByVal key As Object _
    ) As Integer
    public virtual int Find( 
       PropertyDescriptor prop,
       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