dotConnect for MySQL Documentation
Devart.Data Namespace / DataLink Class / Find Method / Find(String,Object) Method
The name of the property to search for.
The value of the item with the specified name to find.

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 Shadows Function Find( _
       ByVal propertyName As String, _
       ByVal key As Object _
    ) As Integer
    public new int Find( 
       string propertyName,
       object key
    )

    Parameters

    propertyName
    The name of the property to search for.
    key
    The value of the item with the specified name to find.

    Return Value

    The zero-based index of the item, having the specified property name and value.
    See Also