ReadOnlyCollection<T>.IList.Insert(Int32, Object) Método

Definição

Insere um item no IList índice especificado. Esta implementação lança sempre NotSupportedException.

 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

O índice baseado em zero no qual value deve ser inserido.

value
Object

O Object para inserir no IList.

Implementações

Exceções

Sempre atirado.

Observações

Este membro é uma implementação explícita de membro de interface. Só pode ser usado quando a ReadOnlyCollection<T> instância é transmitida para uma IList interface.

Aplica-se a