TableCellCollection.IList.Insert(Int32, Object) Metoda

Definicja

Wstawia obiekt do kolekcji w określonym indeksie.

 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

Parametry

index
Int32

Indeks oparty na zerze w kolekcji, w której ma być wstawiony obiekt.

o
Object

Obiekt do wstawienia do kolekcji.

Implementuje

Uwagi

Zazwyczaj należy użyć AddAt metody , aby dodać element do TableCellCollection obiektu.

Metoda IList.Insert jest jawną implementacją składową interfejsu. Można go używać tylko wtedy, gdy TableCellCollection wystąpienie jest rzutowe do interfejsu IList .

Dotyczy

Zobacz też