SqlBatchCommandCollection.IndexOf 메서드

정의

오버로드

IndexOf(DbBatchCommand)

지정된 DbBatchCommand 개체의 인덱스를 반환합니다.

IndexOf(SqlBatchCommand)

내에서 SqlBatchCommandCollection 지정된 를 SqlBatchCommand 검색하고 전체 SqlBatchCommandCollection내에서 첫 번째 항목의 인덱스(0부터 시작)를 반환합니다.

IndexOf(DbBatchCommand)

지정된 DbBatchCommand 개체의 인덱스를 반환합니다.

public:
 override int IndexOf(System::Data::Common::DbBatchCommand ^ item);
public override int IndexOf (System.Data.Common.DbBatchCommand item);
override this.IndexOf : System.Data.Common.DbBatchCommand -> int
Public Overrides Function IndexOf (item As DbBatchCommand) As Integer

매개 변수

item
DbBatchCommand

IList<T>에서 찾을 개체입니다.

반환

지정된 DbBatchCommand 개체의 인덱스입니다.

적용 대상

IndexOf(SqlBatchCommand)

내에서 SqlBatchCommandCollection 지정된 를 SqlBatchCommand 검색하고 전체 SqlBatchCommandCollection내에서 첫 번째 항목의 인덱스(0부터 시작)를 반환합니다.

public:
 virtual int IndexOf(Microsoft::Data::SqlClient::SqlBatchCommand ^ item);
public int IndexOf (Microsoft.Data.SqlClient.SqlBatchCommand item);
override this.IndexOf : Microsoft.Data.SqlClient.SqlBatchCommand -> int
Public Function IndexOf (item As SqlBatchCommand) As Integer

매개 변수

반환

전체 내에서 처음 발생하는 의 인덱스(0부터 시작)를 반환합니다 SqlBatchCommandCollection.

구현

적용 대상