Share via


TableRowCollection.IList.Add(Object) Método

Definición

Agrega un objeto a la colección.

 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

Parámetros

o
Object

El objeto que se va a agregar a la colección.

Devoluciones

Int32

Índice en el que se agregó el objeto a la colección.

Implementaciones

Comentarios

Normalmente, debe usar el TableRowCollection.Add método para agregar un elemento a un TableRowCollection objeto .

El IList.Add método es una implementación explícita de miembro de interfaz. Solo se puede utilizar cuando la instancia de TableRowCollection se convierte en una interfaz IList.

Se aplica a

Consulte también