ModelItemCollection.IndexOf Method (ModelItem)
Returns the zero-based index of the first occurrence of a value in the ModelItemCollection.
Assembly: System.Activities.Presentation (in System.Activities.Presentation.dll)
The object to locate in the collection.
Return ValueType: System.Int32
The zero-based index of the first occurrence of item within the entire ModelItemCollection, if found; otherwise, –1.
Available since 4.0