SynchronizedCollection(Of T).Add Method (T)

 

Adds an item to the thread-safe, read-only collection.

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

Public Sub Add (
	item As T
)

Parameters

item
Type: T

The element to be added to the collection.

Exception Condition
ArgumentException

The value set is null or is not of the correct generic type T for the collection.

.NET Framework
Available since 3.0
Return to top
Show: