dotConnect for SQL Server 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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also