Freigeben über


SqlBatchCommandCollection.Contains Methode

Definition

Überlädt

Contains(SqlBatchCommand)

Bestimmt, ob SqlBatchCommand in SqlBatchCommandCollection enthalten ist.

Contains(DbBatchCommand)

Gibt an, ob in der Auflistung enthalten DbBatchCommand ist.

Contains(SqlBatchCommand)

Bestimmt, ob SqlBatchCommand in SqlBatchCommandCollection enthalten ist.

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

Parameter

Gibt zurück

Implementiert

Gilt für:

Contains(DbBatchCommand)

Gibt an, ob in der Auflistung enthalten DbBatchCommand ist.

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

Parameter

item
DbBatchCommand

Das im ICollection<T> zu suchende Objekt.

Gibt zurück

true, wenn sich der DbBatchCommand in der Auflistung befindet, andernfalls false.

Gilt für: