SynchronizedReadOnlyCollection(Of T).ICollection(Of T).Clear Method ()
.NET Framework (current version)
Throws a NotSupportedException if called.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Implements
ICollection(Of T).Clear()| Exception | Condition |
|---|---|
| NotSupportedException | Items cannot be cleared from a read-only collection. |
Items cannot be cleared from a read-only collection.
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: