SynchronizedReadOnlyCollection<T>.IList.Insert(Int32, Object) Método
Definición
Los elementos no se pueden insertar en una colección de solo lectura.Items cannot be inserted into a read-only collection.
virtual void System.Collections.IList.Insert(int index, System::Object ^ value) = System::Collections::IList::Insert;
void IList.Insert (int index, object value);
abstract member System.Collections.IList.Insert : int * obj -> unit
override this.System.Collections.IList.Insert : int * obj -> unit
Sub Insert (index As Integer, value As Object) Implements IList.Insert
Parámetros
- index
- Int32
Índice basado en cero en el que se va a insertar value
.The zero-based index at which value
is to be inserted.
- value
- Object
El objeto que se va a insertar en la colección.The object to insert into the collection.
Implementaciones
Excepciones
Los elementos no se pueden insertar en una colección de solo lectura.Items cannot be inserted into a read-only collection.
Comentarios
Lanza una NotSupportedException si se llama.Throws a NotSupportedException if called.