Adds an item to the ICollection<(Of <(T>)>).

C# | Visual Basic |
public void Add( TTarget item )
Public Sub Add ( _ item As TTarget _ )

- item (TTarget)
- The object to add to the ICollection<(Of <(T>)>).

Exception | Condition |
---|---|
NotSupportedException | The
ICollection<(Of <(T>)>) is read-only. |