TargetCollection.InsertItem Method
Inserts an object into the collection 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 Target _
)
'Usage
Dim index As Integer
Dim item As Target
Me.InsertItem(index, item)
protected override void InsertItem(
int index,
Target item
)
Parameters
index
Type: System.Int32The zero-based index to insert the object at.
item
Type: Microsoft.PerformancePoint.Scorecards.TargetThe object to insert.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Thrown if the index is less than 0 or if the index is greater than the count. |