Share via


BindingCollection.IndexOf(Binding) Method

Definition

Searches for the specified Binding and returns its zero-based index within the collection.

public int IndexOf (Microsoft.AnalysisServices.Binding item);
member this.IndexOf : Microsoft.AnalysisServices.Binding -> int
Public Function IndexOf (item As Binding) As Integer

Parameters

item
Binding

The Binding to locate.

Returns

The zero-based index of the Binding in the collection, if found; otherwise, -1.

Applies to