Dictionary<TKey,TValue>.ValueCollection.ICollection<TValue>.Add Método

Definición

Agrega un elemento a ICollection<T>. Esta implementación siempre produce una excepción NotSupportedException.

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

Parámetros

item
TValue

Objeto que se va a agregar a ICollection<T>.

Implementaciones

Excepciones

Siempre se produce.

Se aplica a

Consulte también