DataGridViewSelectedCellCollection.Item[Int32] Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient la cellule à l’index spécifié.
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
Paramètres
- index
- Int32
Index de l’objet DataGridViewCell à obtenir à partir du DataGridViewSelectedCellCollection.
Valeur de propriété
À DataGridViewCell l’index spécifié.
Exceptions
index est inférieur à 0.
-ou-
index est égal ou supérieur au nombre de cellules de la collection.