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

Definición

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

 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 lanzado; la colección es de solo lectura.

Se aplica a

Consulte también