Metodo PerspectiveKpiCollection.IndexOf (PerspectiveKpi)
Gets the index of a specified PerspectiveKpi.
Spazio dei nomi Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
Public Function IndexOf ( _
item As PerspectiveKpi _
) As Integer
'Utilizzo
Dim instance As PerspectiveKpiCollection
Dim item As PerspectiveKpi
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
PerspectiveKpi item
)
public:
int IndexOf(
PerspectiveKpi^ item
)
member IndexOf :
item:PerspectiveKpi -> int
public function IndexOf(
item : PerspectiveKpi
) : int
Parametri
- item
Tipo: Microsoft.AnalysisServices.PerspectiveKpi
The PerspectiveKpi to return.
Valore restituito
Tipo: System.Int32
The zero-based index of the PerspectiveKpi if the object is found; otherwise, -1.