DataGridView.CreateRowsInstance 方法

定义

创建并返回一个新的 DataGridViewRowCollection

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

返回

一个空 DataGridViewRowCollection

适用于

另请参阅