Metodo ModelComponentCollection.IndexOf (IModelComponent)

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

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Protected Function IndexOf ( _
    item As IModelComponent _
) As Integer
'Utilizzo
Dim item As IModelComponent 
Dim returnValue As Integer 

returnValue = Me.IndexOf(item)
protected int IndexOf(
    IModelComponent item
)
protected:
int IndexOf(
    IModelComponent^ item
)
member IndexOf : 
        item:IModelComponent -> int
protected function IndexOf(
    item : IModelComponent
) : int

Parametri

Valore restituito

Tipo: System.Int32
The zero-based index of the item in the collection, if found; otherwise, -1.

Vedere anche

Riferimento

ModelComponentCollection Classe

Overload IndexOf

Spazio dei nomi Microsoft.AnalysisServices