Udostępnij za pośrednictwem


SqlBatchCommandCollection.Contains Metoda

Definicja

Przeciążenia

Contains(SqlBatchCommand)

Określa, czy element SqlBatchCommand znajduje się w obiekcie SqlBatchCommandCollection.

Contains(DbBatchCommand)

Wskazuje, czy element DbBatchCommand znajduje się w kolekcji.

Contains(SqlBatchCommand)

Określa, czy element SqlBatchCommand znajduje się w obiekcie 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

Parametry

Zwraca

Implementuje

Dotyczy

Contains(DbBatchCommand)

Wskazuje, czy element DbBatchCommand znajduje się w kolekcji.

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

Parametry

item
DbBatchCommand

Obiekt do zlokalizowania w obiekcie ICollection<T>.

Zwraca

true jeśli element znajduje się DbBatchCommand w kolekcji; w przeciwnym razie false.

Dotyczy