SortedDictionary<(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 a NotSupportedException.

Namespace:  System.Collections.Generic
Assembly:  System (in System.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; the collection is read-only.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

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

System.Collections.Generic Namespace

IsReadOnly