Export (0) Print
Expand All

SynchronizedReadOnlyCollection<T>.IList.Insert Method

Throws a NotSupportedException if called.

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

void IList.Insert(
	int index,
	Object value
)

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)

ExceptionCondition
NotSupportedException

Items cannot be inserted into a read-only collection.

Throws a NotSupportedException if called, because read-only collections cannot be altered.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft