SynchronizedReadOnlyCollection(Of T).IList.Add Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Throws a NotSupportedException.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- value
- Type: System.Object
The element to be added to the collection.
Implements
IList.Add(Object)| Exception | Condition |
|---|---|
| NotSupportedException | Items cannot be added to a read-only collection. |
Show: