Méthode HierarchyCollection.IndexOf (Hierarchy)
Gets the index of a specified Hierarchy.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function IndexOf ( _
item As Hierarchy _
) As Integer
'Utilisation
Dim instance As HierarchyCollection
Dim item As Hierarchy
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
Hierarchy item
)
public:
int IndexOf(
Hierarchy^ item
)
member IndexOf :
item:Hierarchy -> int
public function IndexOf(
item : Hierarchy
) : int
Paramètres
- item
Type : Microsoft.AnalysisServices.Hierarchy
The Hierarchy to be returned.
Valeur de retour
Type : System.Int32
The zero-based index of the Hierarchy, if the object is found; otherwise, -1.