Share via


SqlBatchCommandCollection クラス

定義

内に含まれる のインスタンスのSqlBatchCommandSqlBatchコレクション。

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()

内に含まれる のインスタンスのSqlBatchCommandSqlBatchコレクション。

プロパティ

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)

ターゲット配列のターゲット インデックスから始まる 1 次元配列に全体 SqlBatchCommandCollection をコピーします。

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()

内に含まれる のインスタンスのSqlBatchCommandSqlBatchコレクション。

IEnumerable<SqlBatchCommand>.GetEnumerator()

内に含まれる のインスタンスのSqlBatchCommandSqlBatchコレクション。

IList<SqlBatchCommand>.Item[Int32]

指定したインデックス位置にある要素を取得または設定します。

適用対象