Partager via


Méthode IndexOf

Gets the index of a specified Binding.

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

Syntaxe

'Déclaration
Public Function IndexOf ( _
    item As Binding _
) As Integer
'Utilisation
Dim instance As BindingCollection
Dim item As Binding
Dim returnValue As Integer

returnValue = instance.IndexOf(item)
public int IndexOf(
    Binding item
)
public:
int IndexOf(
    Binding^ item
)
member IndexOf : 
        item:Binding -> int 
public function IndexOf(
    item : Binding
) : int

Paramètres

Valeur de retour

Type : System. . :: . .Int32
The zero-based index of the Binding if the object is found; otherwise, -1.