Compartir a través de


IndexOf Método

Gets the index of a specified ImpactDetail.

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

Sintaxis

'Declaración
Public Function IndexOf ( _
    item As ImpactDetail _
) As Integer
'Uso
Dim instance As ImpactDetailCollection
Dim item As ImpactDetail
Dim returnValue As Integer

returnValue = instance.IndexOf(item)
public int IndexOf(
    ImpactDetail item
)
public:
int IndexOf(
    ImpactDetail^ item
)
member IndexOf : 
        item:ImpactDetail -> int 
public function IndexOf(
    item : ImpactDetail
) : int

Parámetros

Valor devuelto

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