AnnotationCollection.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(Annotation) |
Recherche le Annotation spécifié et retourne son index de base zéro dans la collection. |
IndexOf(String) |
Recherche l’objet Annotation spécifié avec le nom spécifié et retourne son index de base zéro dans la collection. |
IndexOf(Annotation)
Recherche le Annotation spécifié et retourne son index de base zéro dans la collection.
public int IndexOf (Microsoft.AnalysisServices.Annotation item);
member this.IndexOf : Microsoft.AnalysisServices.Annotation -> int
Public Function IndexOf (item As Annotation) As Integer
Paramètres
- item
- Annotation
Annotation à rechercher.
Retours
Index de base zéro de l’objet Annotation dans la collection, s’il est trouvé ; sinon, -1.
S’applique à
IndexOf(String)
Recherche l’objet Annotation spécifié avec le nom spécifié et retourne son index de base zéro dans la collection.
public int IndexOf (string name);
member this.IndexOf : string -> int
Public Function IndexOf (name As String) As Integer
Paramètres
- name
- String
Nom de l’objet Annotation à localiser.
Retours
Index de base zéro de l’objet Annotation dans la collection, s’il est trouvé ; sinon, -1.