SqlBatchCommandCollection.IndexOf 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
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
매개 변수
- item
- SqlBatchCommand
반환
전체 내에서 처음 발생하는 의 인덱스(0부터 시작)를 반환합니다 SqlBatchCommandCollection.