DataGridView.CreateColumnsInstance 方法

定义

创建并返回一个新的 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

返回

DataGridViewColumnCollection

一个空 DataGridViewColumnCollection

适用于

另请参阅