DataGridViewSelectedCellCollection.Item[Int32] Propiedad

Definición

Obtiene la celda en el índice especificado.

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

Parámetros

index
Int32

Índice del objeto que DataGridViewCell se va a obtener de .DataGridViewSelectedCellCollection

Valor de propiedad

en DataGridViewCell el índice especificado.

Excepciones

index es menor que 0.

O bien

index es igual o mayor que el número de celdas de la colección.

Se aplica a

Consulte también