Partager via


Méthode RelationshipEndAttributeCollection.IndexOf (String)

Reports the index of the first occurrence of the specified string in this instance.

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

Syntaxe

'Déclaration
Public Function IndexOf ( _
    attributeId As String _
) As Integer
'Utilisation
Dim instance As RelationshipEndAttributeCollection 
Dim attributeId As String 
Dim returnValue As Integer 

returnValue = instance.IndexOf(attributeId)
public int IndexOf(
    string attributeId
)
public:
int IndexOf(
    String^ attributeId
)
member IndexOf : 
        attributeId:string -> int
public function IndexOf(
    attributeId : String
) : int

Paramètres

Valeur de retour

Type : System.Int32
The index of the first occurrence of the specified string in this instance.

Voir aussi

Référence

RelationshipEndAttributeCollection Classe

Surcharge IndexOf

Espace de noms Microsoft.AnalysisServices