FirstClassElementCollectionBase<ElementCollectionType, ElementType>.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 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.Int32The zero-based index.
item
Type: ElementTypeThe object to insert.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Thrown if the index is less than 0 or greater than the count of the collection. |
See Also
Reference
FirstClassElementCollectionBase<ElementCollectionType, ElementType> Class
FirstClassElementCollectionBase<ElementCollectionType, ElementType> Members