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