Share via


FirstClassElementCollectionBase<ElementCollectionType, ElementType>.SetItem Method

Replaces the object at the specified index with the specified object.

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

Syntax

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

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

Parameters

  • index
    Type: System.Int32

    The zero-based index of the object to replace.

Remarks

This method replaces the existing object only if the location of the new object is the same.

See Also

Reference

FirstClassElementCollectionBase<ElementCollectionType, ElementType> Class

FirstClassElementCollectionBase<ElementCollectionType, ElementType> Members

Microsoft.PerformancePoint.Scorecards Namespace