IListContract<C>.IndexOf(C) 메서드

정의

에서 특정 요소의 인덱스 값을 반환합니다 IListContract<C>.

public:
 int IndexOf(C item);
public int IndexOf(C item);
abstract member IndexOf : 'C -> int
Public Function IndexOf (item As C) As Integer

매개 변수

item
C

IContract 에서 찾을 위치입니다IListContract<C>.

반품

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

적용 대상