SynchronizedReadOnlyCollection<T>.ICollection<T>.Add(T) Método

Definição

Gera um NotSupportedException se for chamado.

 virtual void System.Collections.Generic.ICollection<T>.Add(T value) = System::Collections::Generic::ICollection<T>::Add;
void ICollection<T>.Add (T value);
abstract member System.Collections.Generic.ICollection<T>.Add : 'T -> unit
override this.System.Collections.Generic.ICollection<T>.Add : 'T -> unit
Sub Add (value As T) Implements ICollection(Of T).Add

Parâmetros

value
T

O elemento a ser adicionado à coleção.

Implementações

Exceções

Itens não podem ser definidos em uma coleção somente leitura.

Comentários

Os itens não podem ser adicionados a uma coleção somente leitura.

Aplica-se a