Not a valid operation on a readonly list. Will throw InvalidOperationException;

Namespace:  EPiServer.Core
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public void Insert(
	int index,
	string item
)

Parameters

index
Type: System..::.Int32
The zero-based index at which item should be inserted.
item
Type: System..::.String
The object to insert into the IList<(Of <(T>)>).

Implements

IList<(Of <(T>)>)..::.Insert(Int32, T)

Exceptions

ExceptionCondition
System..::.ArgumentOutOfRangeException index is not a valid index in the IList<(Of <(T>)>).
System..::.NotSupportedExceptionThe IList<(Of <(T>)>) is read-only.

See Also