Share via


DataRowCollection.IndexOf(DataRow) 메서드

정의

지정된 DataRow 개체의 인덱스를 가져옵니다.

public:
 int IndexOf(System::Data::DataRow ^ row);
public int IndexOf (System.Data.DataRow? row);
public int IndexOf (System.Data.DataRow row);
member this.IndexOf : System.Data.DataRow -> int
Public Function IndexOf (row As DataRow) As Integer

매개 변수

row
DataRow

검색할 DataRow입니다.

반환

행의 인덱스(0부터 시작)이거나, 행이 컬렉션에 없으면 -1입니다.

적용 대상