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

Int32

L’index avec lequel 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. Il peut uniquement être utilisé lorsque l'instance de TableCellCollection est castée en interface IList.

S’applique à

Voir aussi