Inserts an item, which must be of type PageData, in the PageDataCollection at the specified index.

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

Syntax

C#
public void Insert(
	int index,
	Object value
)

Parameters

index
Type: System..::.Int32
The zero-based index at which value should be inserted.
value
Type: System..::.Object
The PageData instance to insert into the PageDataCollection.

Implements

IList..::.Insert(Int32, Object)

Exceptions

ExceptionCondition
System..::.ArgumentOutOfRangeException index is not a valid index in the PageDataCollection.

See Also