ComponentOne ADO.NET DataExtender
C1.C1DataExtender.2 Assembly / C1.C1DataExtender.SchemaExtender Namespace / DataSetConnectionCollection Class / IndexOf Method / IndexOf(DataSetConnectionExtender) Method
The DataSetConnectionExtender object to find.

In This Topic
    IndexOf(DataSetConnectionExtender) Method
    In This Topic
    Gets an index of the specified DataSetConnectionExtender object.
    Syntax
    'Declaration
     
    Public Overloads Function IndexOf( _
       ByVal connection As DataSetConnectionExtender _
    ) As System.Integer
    public System.int IndexOf( 
       DataSetConnectionExtender connection
    )

    Parameters

    connection
    The DataSetConnectionExtender object to find.

    Return Value

    If the specified DataSetConnectionExtender object is contained in the collection then returns its index; otherwise, -1.
    See Also