Compartilhar via


Método IndexOf

Gets the index of a specified Binding.

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

Sintaxe

'Declaração
Public Function IndexOf ( _
    item As Binding _
) As Integer
'Uso
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

Parâmetros

Valor de retorno

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