DataGridView.CreateRowsInstance 方法

定义

创建并返回一个新的 DataGridViewRowCollectionCreates and returns a new 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

返回

适用于

另请参阅