Bagikan melalui


DataGridViewRow.CreateCellsInstance Metode

Definisi

Membuat kumpulan sel baru berdasarkan baris ini.

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

Mengembalikan

Yang baru dibuat DataGridViewCellCollection.

Keterangan

Metode ini membuat kosong DataGridViewCellCollection dengan properti diatur Count ke 0.

Catatan Bagi Inheritor

Biasanya, kelas turunan harus menerapkan versi CreateCellsInstance() metode mereka sendiri dan tidak memanggil versi kelas dasar.

Berlaku untuk

Lihat juga