TableLayoutStyleCollection.IList.Insert(Int32, Object) Metoda

Definicja

Aby zapoznać się z opisem tej metody, zobacz metodę Insert(Int32, Object) .

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

Parametry

index
Int32

Liczony od elementu zerowego indeks, w którym powinien zostać wstawiony parametr style.

style
Object

Element Object do wstawienia do .IList

Implementuje

Wyjątki

style jest już przypisany do innego właściciela. Musisz najpierw usunąć go z bieżącej lokalizacji lub sklonować.

-lub-

Tylko platforma .NET 8 lub nowsza: style nie można przekonwertować na typ TableLayoutStyle.

Uwagi

Ten element jest jawną implementacją członków. Można go używać tylko wtedy, gdy TableLayoutStyleCollection wystąpienie jest rzutowe do interfejsu IList .

Dotyczy