DataGridViewSelectedCellCollection.Item[Int32] Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mendapatkan sel di indeks yang ditentukan.
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
Parameter
- index
- Int32
Indeks DataGridViewCell untuk mendapatkan dari DataGridViewSelectedCellCollection.
Nilai Properti
pada DataGridViewCell indeks yang ditentukan.
Pengecualian
index kurang dari 0.
-atau-
index sama dengan atau lebih besar dari jumlah sel dalam koleksi.