컬렉션에서 행의 위치를 확인합니다.

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

Syntax

C#
public int IndexOf(
	Column item
)
Visual Basic
Public Function IndexOf ( _
	item As Column _
) As Integer
Visual C++
public:
int IndexOf(
	Column^ item
)

Parameters

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

[Missing <param name="item"/> documentation for "M:Ntreev.Windows.Forms.Grid.ColumnCollection.IndexOf(Ntreev.Windows.Forms.Grid.Column)"]

Return Value

컬렉션에 포함되어 있지 않다면 -1을 반환합니다.

Exceptions

ExceptionCondition
System..::..ArgumentNullException 매개변수 item의 값이 null일때

See Also