DataGridViewCellCollection.Contains(DataGridViewCell) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定指定的单元格是否包含在集合中。
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
在集合中查找的 A DataGridViewCell 。