Redigera

Dela via


DataGridView.CreateRowsInstance Method

Definition

Creates 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

Returns

An empty DataGridViewRowCollection.

Applies to

See also