Redigera

Dela via


TableCellCollection.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 TableCellCollection.Add method to add an element to a TableCellCollection object.

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

Applies to

See also