컬렉션에 새로운 열을 삽입합니다.

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

Syntax

C#
public virtual void Insert(
	int index,
	Row item
)
Visual Basic
Public Overridable Sub Insert ( _
	index As Integer, _
	item As Row _
)
Visual C++
public:
virtual void Insert(
	int index, 
	Row^ item
)

Parameters

index
Type: System..::..Int32

[Missing <param name="index"/> documentation for "M:Ntreev.Windows.Forms.Grid.RowCollection.Insert(System.Int32,Ntreev.Windows.Forms.Grid.Row)"]

item
Type: Ntreev.Windows.Forms.Grid..::..Row

[Missing <param name="item"/> documentation for "M:Ntreev.Windows.Forms.Grid.RowCollection.Insert(System.Int32,Ntreev.Windows.Forms.Grid.Row)"]

Implements

IList<(Of <(<'T>)>)>..::..Insert(Int32, T)

Remarks

사용자는 Row형태의 인스턴스를 새로 생성해 삽입 하거나, Remove(Row)등의 의해 컬렉션에서 제거된 열을 다시 삽입할 수 있습니다.

Exceptions

ExceptionCondition
System..::..ArgumentNullException 매개변수 item의 값이 null일때
System..::..ArgumentException 삽입할 열이 이미 존재하거나, 같은 이름을 가진 열이 컬렉션에 이미 존재하는 경우
System..::..ArgumentOutOfRangeException index가 0보다 작거나, Count보다 클 경우

See Also