ModelItemCollection.IndexOf Method (ModelItem)

.NET Framework (current version)
 

Returns the zero-based index of the first occurrence of a value in the ModelItemCollection.

Namespace:   System.Activities.Presentation.Model
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

public abstract int IndexOf(
	ModelItem item
)

Parameters

item
Type: System.Activities.Presentation.Model.ModelItem

The object to locate in the collection.

Return Value

Type: System.Int32

The zero-based index of the first occurrence of item within the entire ModelItemCollection, if found; otherwise, –1.

.NET Framework
Available since 4.0
Return to top
Show: