Edytuj

Udostępnij za pośrednictwem


DataGridView.CreateColumnsInstance Method

Definition

Creates and returns a new DataGridViewColumnCollection.

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

Returns

An empty DataGridViewColumnCollection.

Applies to

See also