IndexOf

DocumentTableRelationCollection.IndexOf method

Returns the index of the specified relation within this collection.

public int IndexOf(DocumentTableRelation relation)
Parameter Type Description
relation DocumentTableRelation A relation to find.

Return Value

The zero-based index of the specified relation, or -1 if the relation does not exist in this collection.

See Also