Share via


BindingCollection.IndexOf Method

Gets the index of a specified Binding.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function IndexOf ( _
    item As Binding _
) As Integer
'Usage
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

Parameters

Return Value

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