Share via


ElementCollection.InsertItem Method (Int32, ElementType) (Microsoft.PerformancePoint.Scorecards)

Inserts an element into the collection at a specific 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
    The zero-based index at which item should be inserted.
  • item
    The object to insert.

Exceptions

Exception type Condition

ArgumentOutOfRangeException

Thrown if index is less than 0 or if index is greater than Count.

See Also

Reference

ElementCollection Generic Class
ElementCollection Members
Microsoft.PerformancePoint.Scorecards Namespace