DataGridViewRow.CreateCellsInstance Yöntem

Tanım

Bu satırı temel alan yeni bir hücre koleksiyonu oluşturur.

protected:
 virtual System::Windows::Forms::DataGridViewCellCollection ^ CreateCellsInstance();
protected virtual System.Windows.Forms.DataGridViewCellCollection CreateCellsInstance ();
abstract member CreateCellsInstance : unit -> System.Windows.Forms.DataGridViewCellCollection
override this.CreateCellsInstance : unit -> System.Windows.Forms.DataGridViewCellCollection
Protected Overridable Function CreateCellsInstance () As DataGridViewCellCollection

Döndürülenler

DataGridViewCellCollection

Yeni oluşturulan DataGridViewCellCollection.

Açıklamalar

Bu yöntem, özelliği 0 olarak ayarlanmış boş DataGridViewCellCollection Count bir oluşturur.

Devralanlara Notlar

Genellikle türetilmiş sınıflar, temel sınıf sürümünü CreateCellsInstance() çağırmadan kendi yönteminin sürümünü uygulamalıdır.

Şunlara uygulanır

Ayrıca bkz.