ActivityCollection.IList<Activity>.IndexOf(Activity) 메서드

정의

에서 특정 항목의 인덱스를 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

매개 변수

item
Activity

에서 찾을 개체입니다 IList.

반품

목록에 있는 경우의 item 인덱스입니다. 그렇지 않으면 -1입니다.

구현

설명

개체가 목록에서 여러 번 발생하는 경우 메서드는 IndexOf 항상 찾은 첫 번째 인스턴스를 반환합니다.

적용 대상