Gets the index of the specified Constraint.
member IndexOf :
constraint:Constraint -> int
The Constraint to search for.
Use the IndexOf method to return an index to be used with either the Contains or Remove method.
The following example uses the IndexOf method to return the index of a Constraint. The index is passed to the Contains method, before it is removed, to determine whether the collection contains the constraint.