Dictionary<(Of <(TKey, TValue>)>).ValueCollection.ICollection<(Of <(TValue>)>).Add Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Adds an item to the ICollection<(Of <(T>)>). This implementation always throws NotSupportedException.

Namespace:  System.Collections.Generic
Assembly:  mscorlib (in mscorlib.dll)

Syntax

Private Sub Add ( _
    item As TValue _
) Implements ICollection(Of TValue).Add
void ICollection<TValue>.Add(
    TValue item
)

Parameters

Implements

ICollection<(Of <(T>)>)..::.Add(T)

Exceptions

Exception Condition
NotSupportedException

Always thrown.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

Dictionary<(Of <(TKey, TValue>)>)..::.ValueCollection Class

System.Collections.Generic Namespace

IsReadOnly