Share via


SqlBatchCommandCollection 클래스

정의

에 포함된 인스턴스의 SqlBatchCommand컬렉션입니다 SqlBatch.

public ref class SqlBatchCommandCollection : System::Data::Common::DbBatchCommandCollection, System::Collections::Generic::ICollection<Microsoft::Data::SqlClient::SqlBatchCommand ^>, System::Collections::Generic::IEnumerable<Microsoft::Data::SqlClient::SqlBatchCommand ^>, System::Collections::Generic::IList<Microsoft::Data::SqlClient::SqlBatchCommand ^>
public class SqlBatchCommandCollection : System.Data.Common.DbBatchCommandCollection, System.Collections.Generic.ICollection<Microsoft.Data.SqlClient.SqlBatchCommand>, System.Collections.Generic.IEnumerable<Microsoft.Data.SqlClient.SqlBatchCommand>, System.Collections.Generic.IList<Microsoft.Data.SqlClient.SqlBatchCommand>
type SqlBatchCommandCollection = class
    inherit DbBatchCommandCollection
    interface ICollection<SqlBatchCommand>
    interface seq<SqlBatchCommand>
    interface IEnumerable
    interface IList<SqlBatchCommand>
Public Class SqlBatchCommandCollection
Inherits DbBatchCommandCollection
Implements ICollection(Of SqlBatchCommand), IEnumerable(Of SqlBatchCommand), IList(Of SqlBatchCommand)
상속
SqlBatchCommandCollection
구현

생성자

SqlBatchCommandCollection()

에 포함된 인스턴스의 SqlBatchCommand컬렉션입니다 SqlBatch.

속성

Count

ICollection<T>에 포함된 요소 수를 가져옵니다.

IsReadOnly

컬렉션이 읽기 전용인지 여부를 지정합니다.

Item[Int32]

지정된 인덱스에서 요소를 가져오거나 설정합니다.

메서드

Add(DbBatchCommand)

DbBatchCommand에 지정한 ICollection<T> 개체를 추가합니다.

Add(SqlBatchCommand)

의 끝에 를 SqlBatchCommand 추가합니다 SqlBatchCommandCollection.

Clear()

SqlBatchCommandCollection에서 모든 SqlBatchCommand 값을 제거합니다.

Contains(DbBatchCommand)

DbBatchCommand 컬렉션에 포함되어 있는지 여부를 나타냅니다.

Contains(SqlBatchCommand)

SqlBatchCommandSqlBatchCommandCollection에 포함되는지 여부를 확인합니다.

CopyTo(DbBatchCommand[], Int32)

특정 ICollection<T> 인덱스부터 시작하여 Array의 요소를 Array에 복사합니다.

CopyTo(SqlBatchCommand[], Int32)

대상 배열의 대상 인덱스에서 시작하여 전체 SqlBatchCommandCollection 를 1차원 배열에 복사합니다.

GetBatchCommand(Int32)

목록의 SqlBatchCommand 지정된 인덱스에서 개체를 반환합니다.

GetEnumerator()

컬렉션의 지정된 인덱스에 있는 SqlBatchCommand 개체를 반환합니다.

IndexOf(DbBatchCommand)

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

IndexOf(SqlBatchCommand)

내에서 SqlBatchCommandCollection 지정된 를 SqlBatchCommand 검색하고 전체 SqlBatchCommandCollection내에서 처음 발생한 인덱스(0부터 시작)를 반환합니다.

Insert(Int32, DbBatchCommand)

지정된 이름을 갖는 DbBatchCommand 개체의 지정한 인덱스를 지정한 컬렉션의 컬렉션에 삽입합니다.

Insert(Int32, SqlBatchCommand)

항목을 SqlBatchCommandCollection의 지정한 인덱스에 삽입합니다.

Remove(DbBatchCommand)

컬렉션에서 지정된 SqlBatchCommand 개체를 제거합니다.

Remove(SqlBatchCommand)

컬렉션에서 특정 SqlBatchCommand 개체의 첫 번째 발생을 제거합니다.

RemoveAt(Int32)

컬렉션의 지정한 인덱스에서 SqlBatchCommand 개체를 제거합니다.

SetBatchCommand(Int32, DbBatchCommand)

지정된 인덱스에 있는 SqlBatchCommand 개체를 새 값으로 설정합니다.

명시적 인터페이스 구현

IEnumerable.GetEnumerator()

에 포함된 인스턴스의 SqlBatchCommand컬렉션입니다 SqlBatch.

IEnumerable<SqlBatchCommand>.GetEnumerator()

에 포함된 인스턴스의 SqlBatchCommand컬렉션입니다 SqlBatch.

IList<SqlBatchCommand>.Item[Int32]

지정된 인덱스에서 요소를 가져오거나 설정합니다.

적용 대상