ReadOnlyCollection<(Of <(T>)>).ICollection<(Of <(T>)>).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.ObjectModel
Assembly:  mscorlib (in mscorlib.dll)

Syntax

Private Sub Add ( _
    value As T _
) Implements ICollection(Of T).Add
void ICollection<T>.Add(
    T value
)

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

ReadOnlyCollection<(Of <(T>)>) Class

System.Collections.ObjectModel Namespace