새로운 행의 인스턴스를 생성하고 컬렉션에 삽입합니다.

Namespace: Ntreev.Windows.Forms.Grid
Assembly: Ntreev.Windows.Forms.Grid (in Ntreev.Windows.Forms.Grid.dll) Version: 1.0.4216.32284

Syntax

C#
public Column InsertNew(
	int index,
	string name
)
Visual Basic
Public Function InsertNew ( _
	index As Integer, _
	name As String _
) As Column
Visual C++
public:
Column^ InsertNew(
	int index, 
	String^ name
)

Parameters

index
Type: System..::..Int32
삽입할 위치를 나타냅니다.
name
Type: System..::..String
생성될 행의 이름입니다. null값이거나 빈문자열일 경우 임의의 이름이 지정됩니다.

Return Value

새로 생성된 Column의 인스턴스입니다.

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeException index가 0보다 작거나, Count보다 클 경우
System..::..ArgumentException 같은 이름을 가진 행이 컬렉션에 이미 존재하는 경우

See Also