Share via


RelationshipEndAttributeCollection.IndexOf Méthode

Définition

Surcharges

IndexOf(RelationshipEndAttribute)

Recherche l’objet RelationshipEndAttribute spécifié et retourne son index de base zéro dans la collection.

IndexOf(String)

Recherche un objet RelationshipEndAttribute avec l’AttributeID spécifié et retourne son index de base zéro dans la collection.

IndexOf(RelationshipEndAttribute)

Recherche l’objet RelationshipEndAttribute spécifié et retourne son index de base zéro dans la collection.

public int IndexOf (Microsoft.AnalysisServices.RelationshipEndAttribute item);
override this.IndexOf : Microsoft.AnalysisServices.RelationshipEndAttribute -> int
Public Function IndexOf (item As RelationshipEndAttribute) As Integer

Paramètres

item
RelationshipEndAttribute

RelationshipEndAttribute à rechercher.

Retours

Index de base zéro de l’objet RelationshipEndAttribute dans la collection, s’il est trouvé ; sinon, -1.

S’applique à

IndexOf(String)

Recherche un objet RelationshipEndAttribute 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 RelationshipEndAttribute à rechercher.

Retours

Index de base zéro de l’objet RelationshipEndAttribute dans la collection, s’il est trouvé ; sinon, -1.

S’applique à