Επεξεργασία

Κοινή χρήση μέσω


TableCellCollection.IList.Insert(Int32, Object) Method

Definition

Inserts an object into the collection at the specified index.

 virtual void System.Collections.IList.Insert(int index, System::Object ^ o) = System::Collections::IList::Insert;
void IList.Insert (int index, object o);
abstract member System.Collections.IList.Insert : int * obj -> unit
override this.System.Collections.IList.Insert : int * obj -> unit
Sub Insert (index As Integer, o As Object) Implements IList.Insert

Parameters

index
Int32

The zero-based index within the collection at which to insert the object.

o
Object

The object to insert into the collection.

Implements

Remarks

Typically, you should use the AddAt method to add an element to a TableCellCollection object.

The IList.Insert 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