PerspectiveHierarchyCollection.IndexOf Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
IndexOf(PerspectiveHierarchy) |
Recherche l’objet PerspectiveHierarchy spécifié et retourne son index de base zéro dans la collection. |
IndexOf(String) |
Recherche un objet PerspectiveHierarchy avec le HierarchyID spécifié et retourne son index de base zéro dans la collection. |
IndexOf(PerspectiveHierarchy)
Recherche l’objet PerspectiveHierarchy spécifié et retourne son index de base zéro dans la collection.
public int IndexOf (Microsoft.AnalysisServices.PerspectiveHierarchy item);
override this.IndexOf : Microsoft.AnalysisServices.PerspectiveHierarchy -> int
Public Function IndexOf (item As PerspectiveHierarchy) As Integer
Paramètres
- item
- PerspectiveHierarchy
PerspectiveHierarchy à rechercher dans la collection.
Retours
Index de base zéro de l’objet PerspectiveHierarchy dans la collection, s’il est trouvé ; sinon, -1.
S’applique à
IndexOf(String)
Recherche un objet PerspectiveHierarchy avec le HierarchyID spécifié et retourne son index de base zéro dans la collection.
public int IndexOf (string hierarchyId);
override this.IndexOf : string -> int
Public Function IndexOf (hierarchyId As String) As Integer
Paramètres
- hierarchyId
- String
HierarchyID de l’objet PerspectiveHierarchy à localiser dans la collection.
Retours
Index de base zéro de l’objet PerspectiveHierarchy dans la collection, s’il est trouvé ; sinon, -1.