ComponentOne DataObjects for .NET
IndexOf(ViewRelation) Method

C1.Data.2 Assembly > C1.Data.SchemaObjects Namespace > ViewRelationCollection Class > IndexOf Method : IndexOf(ViewRelation) Method
The relation object to locate in the collection.
Returns the zero-based index of an element in the collection.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _
   ByVal viewRelation As ViewRelation _
) As System.Integer
public System.int IndexOf( 
   ViewRelation viewRelation
)

Parameters

viewRelation
The relation object to locate in the collection.

Return Value

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

Reference

ViewRelationCollection Class
ViewRelationCollection Members
Overload List