DataGridView.CreateColumnsInstance 方法

定义

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

返回

适用于

另请参阅