Compartir a través de


ModelComponentCollection.IList.IndexOf Método

Determines the index of a specific item in the collection.

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
Private Function IndexOf ( _
    value As Object _
) As Integer Implements IList.IndexOf
'Uso
Dim instance As ModelComponentCollection 
Dim value As Object 
Dim returnValue As Integer 

returnValue = CType(instance, IList).IndexOf(value)
int IList.IndexOf(
    Object value
)
private:
virtual int IndexOf(
    Object^ value
) sealed = IList::IndexOf
private abstract IndexOf : 
        value:Object -> int  
private override IndexOf : 
        value:Object -> int
JScript admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.

Parámetros

Valor devuelto

Tipo: System.Int32
The index of value if found in the list; otherwise, -1.

Implementa

IList.IndexOf(Object)

Vea también

Referencia

ModelComponentCollection Clase

Espacio de nombres Microsoft.AnalysisServices