ActivityCollection.IList<Activity>.IndexOf(Activity) Methode

Definition

Bestimmt den Index eines bestimmten Elements in der IList.

 virtual int System.Collections.Generic.IList<System.Workflow.ComponentModel.Activity>.IndexOf(System::Workflow::ComponentModel::Activity ^ item) = System::Collections::Generic::IList<System::Workflow::ComponentModel::Activity ^>::IndexOf;
int IList<Activity>.IndexOf(System.Workflow.ComponentModel.Activity item);
abstract member System.Collections.Generic.IList<System.Workflow.ComponentModel.Activity>.IndexOf : System.Workflow.ComponentModel.Activity -> int
override this.System.Collections.Generic.IList<System.Workflow.ComponentModel.Activity>.IndexOf : System.Workflow.ComponentModel.Activity -> int
Function IndexOf (item As Activity) As Integer Implements IList(Of Activity).IndexOf

Parameter

item
Activity

Das Objekt, das in der IListDatei gefunden werden soll.

Gibt zurück

Der Index, der item in der Liste gefunden wird; andernfalls -1.

Implementiert

Hinweise

Wenn ein Objekt mehrmals in der Liste auftritt, gibt die IndexOf Methode immer die erste gefundene Instanz zurück.

Gilt für: