DataGridViewSelectedCellCollection.Item[Int32] Propriedade

Definição

Obtém a célula no í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

O índice do DataGridViewCell para obter do DataGridViewSelectedCellCollection.

Valor de Propriedade

O DataGridViewCell no índice especificado.

Exceções

index é inferior a 0.

-ou-

index é igual ou superior ao número de células na coleção.

Aplica-se a

Ver também