SynchronizedReadOnlyCollection<T>.IList.Clear Method ()

 

Items cannot be cleared from a read-only collection.

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

void IList.Clear()

Implements

IList.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
Return to top
Show: