Gets the index of the relation object in the collection.
'Declaration
Public Overloads Function IndexOf( _
ByVal As Relation _
) As System.Integer
public System.int IndexOf(
Relation
)
Parameters
- relation
- The element of the collection.
Return Value
The zero-based index of an element, if found; otherwise, -1.