Scheduler for WinForms | ComponentOne
C1.ScheduleCore Assembly / C1.Schedule Namespace / C1BindingSource Class / Find Method / Find(String,Object) Method
The property name to search on.
The value of the property parameter to search for.

In This Topic
    Find(String,Object) Method
    In This Topic
    Returns the index of the item in the list with the specified property name and value.
    Syntax
    'Declaration
     
    Public Overloads Function Find( _
       ByVal propertyName As System.String, _
       ByVal key As System.Object _
    ) As System.Integer
    public System.int Find( 
       System.string propertyName,
       System.object key
    )

    Parameters

    propertyName
    The property name to search on.
    key
    The value of the property parameter to search for.

    Return Value

    The index of the item in the list with the specified property name and value.
    See Also