TableCellCollection.IList.Insert(Int32, Object) Méthode

Définition

Insère un objet dans la collection à l'index spécifié.

 virtual void System.Collections.IList.Insert(int index, System::Object ^ o) = System::Collections::IList::Insert;
void IList.Insert (int index, object o);
abstract member System.Collections.IList.Insert : int * obj -> unit
override this.System.Collections.IList.Insert : int * obj -> unit
Sub Insert (index As Integer, o As Object) Implements IList.Insert

Paramètres

index
Int32

Index de base zéro dans la collection au niveau duquel l'objet doit être inséré.

o
Object

Objet à insérer dans la collection.

Implémente

Remarques

En règle générale, vous devez utiliser la AddAt méthode pour ajouter un élément à un TableCellCollection objet.

La IList.Insert méthode est une implémentation explicite de membre d’interface. Il peut uniquement être utilisé lorsque l'instance de TableCellCollection est castée en interface IList.

S’applique à

Voir aussi