TableLayoutRowStyleCollection.IndexOf(RowStyle) 메서드

정의

에서 특정 항목의 인덱스를 TableLayoutRowStyleCollection결정합니다.

public:
 int IndexOf(System::Windows::Forms::RowStyle ^ rowStyle);
public int IndexOf(System.Windows.Forms.RowStyle rowStyle);
member this.IndexOf : System.Windows.Forms.RowStyle -> int
Public Function IndexOf (rowStyle As RowStyle) As Integer

매개 변수

rowStyle
RowStyle

RowStyle 에서 찾을 위치입니다TableLayoutRowStyleCollection.

반품

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

설명

메서드는 IndexOf 첫 번째 요소 TableLayoutRowStyleCollection 에서 검색을 시작하고 일치 항목을 찾거나 마지막 요소에 도달하면 종료됩니다.

적용 대상

추가 정보