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에서 찾을 개체입니다.

반환

Int32

목록에 있으면 item의 인덱스이고, 그렇지 않으면 -1입니다.

구현

설명

목록에 개체가 여러 번 나타나면 IndexOf 메서드는 항상 발견한 첫 번째 인스턴스를 반환합니다.

적용 대상