ConsumerConnectionPointCollection.IndexOf(ConsumerConnectionPoint) 메서드

정의

컬렉션에서 지정된 ConsumerConnectionPoint 개체의 인덱스를 확인합니다.

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

매개 변수

connectionPoint
ConsumerConnectionPoint

찾을 ConsumerConnectionPoint입니다.

반환

현재 ConsumerConnectionPointCollection에서 connectionPoint가 처음 나타나는 인덱스(0부터 시작)입니다. 값이 컬렉션에 없는 경우 -1입니다.

설명

지정 된 소비자 연결 지점 항목 컬렉션에 여러 번 나타나면 첫 번째 발생의 인덱스가 반환 됩니다.

적용 대상