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)

Syntax

'Declaration
Protected Overrides Sub InsertItem ( _
    index As Integer, _
    item As ElementType _
)
'Usage
Dim index As Integer
Dim item As ElementType

Me.InsertItem(index, item)
protected override void InsertItem(
    int index,
    ElementType item
)

Parameters

  • index
    Type: System.Int32

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

Exceptions

Exception Condition
ArgumentOutOfRangeException

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

See also

Reference

FirstClassElementCollectionBase<ElementCollectionType, ElementType> class

FirstClassElementCollectionBase<ElementCollectionType, ElementType> members

Microsoft.PerformancePoint.Scorecards namespace