Edit

Share via


TableRowCollection.IList.Add(Object) Method

Definition

Adds an object to the 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

Parameters

o
Object

The object to add to the collection.

Returns

The index at which the object was added to the collection.

Implements

Remarks

Typically, you should use the TableRowCollection.Add method to add an element to a TableRowCollection object.

The IList.Add method is an explicit interface member implementation. It can be used only when the TableRowCollection instance is cast to an IList interface.

Applies to

See also