Méthode AttributeRelationshipCollection.IndexOf (AttributeRelationship)

Gets the index of the specified AttributeRelationship in the collection.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

VB
'Déclaration
Public Function IndexOf ( _
    item As AttributeRelationship _
) As Integer
'Utilisation
Dim instance As AttributeRelationshipCollection 
Dim item As AttributeRelationship 
Dim returnValue As Integer 

returnValue = instance.IndexOf(item)

Paramètres

Valeur de retour

Type : System.Int32
The zero-based index at which the AttributeRelationship has been found in the collection. Otherwise, -1 if the object is not found.

Voir aussi

Référence

AttributeRelationshipCollection Classe

Surcharge IndexOf

Espace de noms Microsoft.AnalysisServices