Redigera

Dela via


ModelItemCollection.IndexOf(ModelItem) Method

Definition

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

public:
 abstract int IndexOf(System::Activities::Presentation::Model::ModelItem ^ item);
public abstract int IndexOf (System.Activities.Presentation.Model.ModelItem item);
abstract member IndexOf : System.Activities.Presentation.Model.ModelItem -> int
Public MustOverride Function IndexOf (item As ModelItem) As Integer

Parameters

item
ModelItem

The object to locate in the collection.

Returns

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

Implements

Applies to