Share via


PerspectiveKpiCollection.Add Method (PerspectiveKpi)

Adds a PerspectiveKpi to the end of the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function Add ( _
    item As PerspectiveKpi _
) As Integer
'Usage
Dim instance As PerspectiveKpiCollection
Dim item As PerspectiveKpi
Dim returnValue As Integer

returnValue = instance.Add(item)
public int Add(
    PerspectiveKpi item
)
public:
int Add(
    PerspectiveKpi^ item
)
member Add : 
        item:PerspectiveKpi -> int 
public function Add(
    item : PerspectiveKpi
) : int

Parameters

Return Value

Type: System.Int32
The zero-based index at which the PerspectiveKpi has been added.