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 поиска в коллекции.

Возвращаемое значение

true Значение , если dataGridViewCell находится в коллекции; в противном случае false.

Применяется к

См. также раздел