DataGridViewSelectedCellCollection.Contains(DataGridViewCell) メソッド

定義

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

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

パラメーター

返品

内にある場合は a0/&。それ以外の場合は。

適用対象

こちらもご覧ください