다음을 통해 공유


ProtocolElementCollection.IndexOf(ProtocolElement) 메서드

정의

컬렉션에서 지정된 ProtocolElement의 인덱스(0부터 시작)를 반환합니다.

public:
 int IndexOf(System::Web::Services::Configuration::ProtocolElement ^ element);
public int IndexOf (System.Web.Services.Configuration.ProtocolElement element);
member this.IndexOf : System.Web.Services.Configuration.ProtocolElement -> int
Public Function IndexOf (element As ProtocolElement) As Integer

매개 변수

element
ProtocolElement

컬렉션에서 찾을 ProtocolElement입니다.

반환

Int32

지정된 ProtocolElement의 인덱스(0부터 시작)이거나, 해당 요소가 컬렉션에 없으면 -1입니다.

적용 대상