TableLayoutStyleCollection.IList.Insert(Int32, Object) Méthode

Définition

Pour obtenir une description de cette méthode, consultez la méthode 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

Paramètres

index
Int32

Index de base zéro au niveau duquel style doit être inséré.

style
Object

Le Object à insérer dans le IList.

Implémente

Exceptions

style est déjà assigné à un autre propriétaire. Vous devez tout d'abord le supprimer de son emplacement actuel ou le cloner.

-ou-

.NET 8 et versions ultérieures uniquement : style ne peut pas être converti en type TableLayoutStyle.

Remarques

Ce membre est une implémentation d'un membre d'interface explicite. Il peut uniquement être utilisé lorsque l'instance de TableLayoutStyleCollection est castée en interface IList.

S’applique à