SynchronizedReadOnlyCollection<T>.IList.RemoveAt Method (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Items cannot be removed from a read-only collection.

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

void IList.RemoveAt(
	int index
)

Parameters

index
Type: System.Int32

The zero-based index of the element to be retrieved from the collection.

Exception Condition
NotSupportedException

Items cannot be removed from a read-only collection.

Throws a NotSupportedException if called.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: