DataGridViewCellCollection.Contains(DataGridViewCell) メソッド

定義

指定したセルがコレクションに含まれているかどうかを判断します。

public:
 virtual bool Contains(System::Windows::Forms::DataGridViewCell ^ dataGridViewCell);
public virtual bool Contains(System.Windows.Forms.DataGridViewCell dataGridViewCell);
abstract member Contains : System.Windows.Forms.DataGridViewCell -> bool
override this.Contains : System.Windows.Forms.DataGridViewCell -> bool
Public Overridable Function Contains (dataGridViewCell As DataGridViewCell) As Boolean

パラメーター

dataGridViewCell
DataGridViewCell

コレクション内で検索する DataGridViewCell

返品

がコレクション内にある場合は a0/&。それ以外の場合は

適用対象

こちらもご覧ください