SynchronizedReadOnlyCollection(Of T).IList.Insert Method (Int32, Object)
.NET Framework (current version)
Items cannot be inserted into a read-only collection.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- index
-
Type:
System.Int32
The zero-based index at which value is to be inserted.
- value
-
Type:
System.Object
The object to insert into the collection.
Implements
IList.Insert(Int32, Object)| Exception | Condition |
|---|---|
| NotSupportedException | Items cannot be inserted into 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
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: