DataGridViewRow.CreateCellsInstance 메서드

정의

이 행을 기반으로 셀의 새 컬렉션을 만듭니다.

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

반환

DataGridViewCellCollection

새로 만든 DataGridViewCellCollection입니다.

설명

이 메서드는 속성이 0으로 Count 설정된 빈 DataGridViewCellCollection 항목을 만듭니다.

상속자 참고

일반적으로 파생 클래스는 메서드의 CreateCellsInstance() 자체 버전을 구현해야 하며 기본 클래스 버전을 호출하지 않아야 합니다.

적용 대상

추가 정보