DataGridViewRowCollection.GetRowState(Int32) 메서드

정의

지정된 인덱스를 사용하여 행의 상태를 가져옵니다.

public:
 virtual System::Windows::Forms::DataGridViewElementStates GetRowState(int rowIndex);
public virtual System.Windows.Forms.DataGridViewElementStates GetRowState (int rowIndex);
abstract member GetRowState : int -> System.Windows.Forms.DataGridViewElementStates
override this.GetRowState : int -> System.Windows.Forms.DataGridViewElementStates
Public Overridable Function GetRowState (rowIndex As Integer) As DataGridViewElementStates

매개 변수

rowIndex
Int32

행의 인덱스입니다.

반환

DataGridViewElementStates

지정된 행의 상태를 나타내는 지정하는 DataGridViewElementStates 값의 비트 조합입니다.

예외

rowIndex 가 0보다 작거나 컬렉션의 항목 수에서 1을 뺀 수보다 큽니다.

적용 대상

추가 정보