TableLayoutStyleCollection.IList.Insert(Int32, Object) Metoda

Definice

Popis této metody naleznete v Insert(Int32, Object) metodě.

 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

Index založený na nule, do kterého style se má vložit.

style
Object

Vložte Object ho do .IList

Implementuje

Výjimky

style je již přiřazen jinému vlastníkovi. Musíte ho nejdřív odebrat z aktuálního umístění nebo ho naklonovat.

nebo

.NET pouze 8 a novější: style nelze převést na typ TableLayoutStyle.

Poznámky

Tento člen je explicitní implementace člena rozhraní. Lze jej použít pouze v případě, TableLayoutStyleCollection že je instance přetypována do IList rozhraní.

Platí pro