TableLayoutStyleCollection.IList.Insert(Int32, Object) Metod

Definition

En beskrivning av den här metoden finns i Insert(Int32, Object) metoden.

 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

Parametrar

index
Int32

Det nollbaserade index som style ska infogas i.

style
Object

Infoga Object i IList.

Implementeringar

Undantag

style är redan tilldelad till en annan ägare. Du måste först ta bort den från den aktuella platsen eller klona den.

-eller-

endast .NET 8 och senare: style kan inte konverteras till typen TableLayoutStyle.

Kommentarer

Den här medlemmen är en explicit implementering av gränssnittsmedlemmar. Den kan endast användas när instansen TableLayoutStyleCollection skickas till ett IList gränssnitt.

Gäller för