Langue

TableCellCollection.IList.Add(Object) Méthode

Définition

Ajoute un objet à la collection.

 virtual int System.Collections.IList.Add(System::Object ^ o) = System::Collections::IList::Add;
int IList.Add(object o);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
Function Add (o As Object) As Integer Implements IList.Add

Paramètres

o
Object

Objet à ajouter à la collection.

Retours

Index auquel l’objet a été ajouté à la collection.

Implémente

Remarques

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

La TableCellCollection.IList.Add méthode est une implémentation explicite de membre d’interface. Elle ne peut être utilisée que lorsque l’instance TableCellCollection est convertie en IList interface.

S’applique à

Voir aussi