Aracılığıyla paylaş


SqlBatchCommandCollection.Contains Yöntem

Tanım

Aşırı Yüklemeler

Contains(SqlBatchCommand)

içinde olup SqlBatchCommandSqlBatchCommandCollectionolmadığını belirler.

Contains(DbBatchCommand)

a DbBatchCommand öğesinin koleksiyonda yer alıp almadığını gösterir.

Contains(SqlBatchCommand)

içinde olup SqlBatchCommandSqlBatchCommandCollectionolmadığını belirler.

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

Parametreler

Döndürülenler

Uygulamalar

Şunlara uygulanır

Contains(DbBatchCommand)

a DbBatchCommand öğesinin koleksiyonda yer alıp almadığını gösterir.

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

Parametreler

item
DbBatchCommand

içinde ICollection<T>bulunacak nesne.

Döndürülenler

true DbBatchCommand koleksiyonundaysa; değilse false.

Şunlara uygulanır