DataGridViewSelectedCellCollection.Item[Int32] 속성

정의

지정된 인덱스에서 셀을 가져옵니다.

public:
 property System::Windows::Forms::DataGridViewCell ^ default[int] { System::Windows::Forms::DataGridViewCell ^ get(int index); };
public System.Windows.Forms.DataGridViewCell this[int index] { get; }
member this.Item(int) : System.Windows.Forms.DataGridViewCell
Default Public ReadOnly Property Item(index As Integer) As DataGridViewCell

매개 변수

index
Int32

에서 가져올 인덱 DataGridViewCell 스입니다 DataGridViewSelectedCellCollection.

속성 값

DataGridViewCell 지정된 인덱스입니다.

예외

index 가 0보다 작습니다.

-또는-

index 가 컬렉션의 셀 수보다 크거나 같은 경우

적용 대상

추가 정보