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

Definição

Insere um item no IList<T> índice especificado. Essa implementação sempre lança 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 ser inserido no IList<T>.

Implementações

Exceções

Sempre jogado.

Comentários

Esse membro é uma implementação de membro de interface explícita. Ele só pode ser usado quando a ReadOnlyCollection<T> instância é convertida em uma IList<T> interface.

Aplica-se a