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