Partager via


SqlBatchCommandCollection.Contains Méthode

Définition

Surcharges

Contains(SqlBatchCommand)

Détermine si un SqlBatchCommand figure dans le SqlBatchCommandCollection.

Contains(DbBatchCommand)

Indique si un DbBatchCommand est contenu dans la collection.

Contains(SqlBatchCommand)

Détermine si un SqlBatchCommand figure dans le SqlBatchCommandCollection.

public:
 virtual bool Contains(Microsoft::Data::SqlClient::SqlBatchCommand ^ item);
public bool Contains (Microsoft.Data.SqlClient.SqlBatchCommand item);
override this.Contains : Microsoft.Data.SqlClient.SqlBatchCommand -> bool
Public Function Contains (item As SqlBatchCommand) As Boolean

Paramètres

Retours

Implémente

S’applique à

Contains(DbBatchCommand)

Indique si un DbBatchCommand est contenu dans la collection.

public:
 override bool Contains(System::Data::Common::DbBatchCommand ^ item);
public override bool Contains (System.Data.Common.DbBatchCommand item);
override this.Contains : System.Data.Common.DbBatchCommand -> bool
Public Overrides Function Contains (item As DbBatchCommand) As Boolean

Paramètres

item
DbBatchCommand

Objet à rechercher dans ICollection<T>.

Retours

true si le DbBatchCommand se trouve dans la collection ; sinon, false.

S’applique à