DataGridViewRow.CreateCellsInstance Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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.