CaptureCollection.IList<Capture>.IndexOf(Capture) 메서드

정의

컬렉션에 있는 특정 항목의 인덱스를 확인합니다.

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

매개 변수

item
Capture

컬렉션에서 찾을 개체입니다.

반환

Int32

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

구현

설명

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

적용 대상