ComponentOne ADO.NET DataExtender
C1.C1DataExtender.2 Assembly / C1.C1DataExtender.SchemaExtender Namespace / DataSetConnectionCollection Class / IndexOf Method / IndexOf(String) Method
The value corresponding to DataSetConnectionExtender.ConnectionName.

In This Topic
    IndexOf(String) Method
    In This Topic
    Gets an index of DataSetConnectionExtender in the collection by its DataSetConnectionExtender.ConnectionName.
    Syntax
    'Declaration
     
    Public Overloads Function IndexOf( _
       ByVal connectionName As System.String _
    ) As System.Integer
    public System.int IndexOf( 
       System.string connectionName
    )

    Parameters

    connectionName
    The value corresponding to DataSetConnectionExtender.ConnectionName.

    Return Value

    If the object with the specified DataSetConnectionExtender.ConnectionName exists then returns its index; otherwise, -1.
    See Also