ReadOnlyCollection<T>.IList<T>.Insert(Int32, T) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Insere um item no IList<T> índice especificado. Esta implementação lança sempre NotSupportedException.
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
Parâmetros
- index
- Int32
O índice baseado em zero no qual value deve ser inserido.
- value
- T
O objeto a inserir no IList<T>.
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<T> interface.