ComponentOne DataObjects for .NET
IndexOf(Connection) Method

C1.Data.2 Assembly > C1.Data.SchemaObjects Namespace > ConnectionCollection Class > IndexOf Method : IndexOf(Connection) Method
The element of the collection.
Returns the zero-based index of the connection object in the collection.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _
   ByVal conn As Connection _
) As System.Integer
public System.int IndexOf( 
   Connection conn
)

Parameters

conn
The element of the collection.

Return Value

The zero-based index of an element, if found; otherwise, -1.
See Also

Reference

ConnectionCollection Class
ConnectionCollection Members
Overload List