WizardStepCollection.IndexOf(WizardStepBase) 메서드

정의

컬렉션에 있는 지정된 WizardStepBase 파생 개체의 위치를 나타내는 인덱스 값을 확인합니다.

public:
 int IndexOf(System::Web::UI::WebControls::WizardStepBase ^ wizardStep);
public int IndexOf (System.Web.UI.WebControls.WizardStepBase wizardStep);
member this.IndexOf : System.Web.UI.WebControls.WizardStepBase -> int
Public Function IndexOf (wizardStep As WizardStepBase) As Integer

매개 변수

wizardStep
WizardStepBase

WizardStepBase에서 검색할 WizardStepCollection 파생 개체입니다.

반환

Int32

현재 WizardStepBase 컬렉션 내에서 전달된 첫 번째 WizardStepCollection 파생 개체의 인덱스(0부터 시작)를 반환하고, 그렇지 않으면 -1을 반환합니다.

예외

전달된 WizardStepBase 파생 개체가 null인 경우

설명

사용 합니다 IndexOf 지정 된 인덱스를 확인 하는 방법 WizardStepBase-파생 개체를 현재 WizardStepCollection 컬렉션입니다. 경우는 WizardStepBase-파생된 개체가 컬렉션에 없으면,-1을 반환 합니다.

적용 대상

추가 정보