SynchronizedReadOnlyCollection<T>.ICollection<T>.Add(T) Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Throws a NotSupportedException if called.
 virtual void System.Collections.Generic.ICollection<T>.Add(T value) = System::Collections::Generic::ICollection<T>::Add;void ICollection<T>.Add(T value);abstract member System.Collections.Generic.ICollection<T>.Add : 'T -> unit
override this.System.Collections.Generic.ICollection<T>.Add : 'T -> unitSub Add (value As T) Implements ICollection(Of T).AddParameters
- value
- T
The element to be added to the collection.
Implements
Exceptions
Items cannot be set in a read-only collection.
Remarks
Items cannot be added to a read-only collection.