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