SynchronizedReadOnlyCollection<T>.IList<T>.Insert Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Lève une NotSupportedException exception si elle est appelée.
virtual void System.Collections.Generic.IList<T>.Insert(int index, T value) = System::Collections::Generic::IList<T>::Insert;
void IList<T>.Insert(int index, T value);
abstract member System.Collections.Generic.IList<T>.Insert : int * 'T -> unit
override this.System.Collections.Generic.IList<T>.Insert : int * 'T -> unit
Sub Insert (index As Integer, value As T) Implements IList(Of T).Insert
Paramètres
- index
- Int32
Index de base zéro auquel value insérer.
- value
- T
Objet à insérer dans la collection.
Implémente
Exceptions
Les éléments ne peuvent pas être insérés dans une collection en lecture seule.