FirstClassElementCollectionBase<ElementCollectionType, ElementType>.InsertItem method

Inserts an element into the KeyedCollection<TKey, TItem> at the specified index.

Namespace:  Microsoft.PerformancePoint.Scorecards
Assembly:  Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)

protected override void InsertItem(
	int index,
	ElementType item
)

Parameters

index
Type: System.Int32

The zero-based index at which item should be inserted.

item
Type: ElementType

The object to insert.

ExceptionCondition
ArgumentOutOfRangeException

index is less than 0.-or-index is greater than Count.

Show: