BasicProfileViolationCollection.IndexOf(BasicProfileViolation) 메서드

정의

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

public:
 int IndexOf(System::Web::Services::Description::BasicProfileViolation ^ violation);
public int IndexOf(System.Web.Services.Description.BasicProfileViolation violation);
member this.IndexOf : System.Web.Services.Description.BasicProfileViolation -> int
Public Function IndexOf (violation As BasicProfileViolation) As Integer

매개 변수

violation
BasicProfileViolation

BasicProfileViolation 컬렉션에서 찾을 수 있는 개체입니다.

반품

지정된 BasicProfileViolation인덱스(0부터 시작)이거나 컬렉션에서 요소를 찾을 수 없는 경우 -1.

적용 대상