Método CommandCollection.IList.IndexOf
Determines the index of a specific item in the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
Private Function IndexOf ( _
value As Object _
) As Integer Implements IList.IndexOf
'Uso
Dim instance As CommandCollection
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 dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.
Parâmetros
- value
Tipo: System.Object
The object to locate.
Valor de retorno
Tipo: System.Int32
The index of value if found in the list; otherwise, -1.